rabin 3 năm trước cách đây
mục cha
commit
b2e623ff52
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      service/agent/src/My.php

+ 3 - 0
service/agent/src/My.php

@@ -240,11 +240,14 @@ class My extends Core
             if ($this->data['user']['role']['area'] == 3) {
                 $area = '1,2,3';
                 if ($city && $level_info && $level_info['level'] == 1) {
+                    $area = '1,2';
+                    /*
                     $county = Dever::db('area/county')->find($temp[2]);
                     $town = Dever::db('area/town')->find($temp[3]);
                     if ($county && $county['level'] == 1 && $town && $town['type'] != 1) {
                         $area = '1,2';
                     }
+                    */
                 }
 
                 $this->data['role'] = Dever::db('setting/role')->getInfo(array('isbuy' => 1, 'type' => 2, 'area' => $area));