浏览代码

会员升级

Kirin 2 月之前
父节点
当前提交
289252fba1
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      app/controller/admin/v1/user/User.php

+ 0 - 5
app/controller/admin/v1/user/User.php

@@ -592,11 +592,6 @@ class User extends AuthController
                 $data['area_admin_city'] = '';
                 $data['area_admin_city'] = '';
                 $data['area_admin_district'] = '';
                 $data['area_admin_district'] = '';
             }
             }
-        } else {
-            $data['area_admin'] = 0;
-            $data['area_admin_province'] = '';
-            $data['area_admin_city'] = '';
-            $data['area_admin_district'] = '';
         }
         }
 
 
         $res = $this->services->updateInfo((int)$id, $data);
         $res = $this->services->updateInfo((int)$id, $data);