作者 李忠强

更新

... ... @@ -662,7 +662,7 @@ class User extends Api
];
$validate = new \think\Validate($rule,$msg);
if (!$validate->check($data)) $this->error($validate->getError());
if ($type == 1){
if ($type == 2){
$data = [
'company_name' => $company_name,
'company_mobile' => $company_mobile,
... ...