|
@@ -303,11 +303,11 @@ class UserService implements UserServiceInterface
|
|
|
'administrative_unit_arr_id' => $data['administrative_unit_arr_id'] ?? '',
|
|
|
'administrative_unit_id' => $data['administrative_unit_id'] ?? 0,
|
|
|
// 企业会员 相关 公司信息
|
|
|
- 'company_hy_id' => $data['company_hy_id']?? 0,
|
|
|
- 'company_size' => $data['company_size']?? 0,
|
|
|
- 'company_nature' => $data['company_nature']?? '',
|
|
|
- 'introduction' => $data['introduction']?? '',
|
|
|
- 'company_url' => $data['company_url']?? '',
|
|
|
+ 'company_hy_id' => $data['company_hy_id']?? 0,
|
|
|
+ 'company_size' => $data['company_size']?? 0,
|
|
|
+ 'company_nature' => $data['company_nature']?? 0,
|
|
|
+ 'introduction' => $data['introduction']?? '',
|
|
|
+ 'company_url' => $data['company_url']?? '',
|
|
|
|
|
|
];
|
|
|
|
|
@@ -323,9 +323,13 @@ class UserService implements UserServiceInterface
|
|
|
} catch (\Throwable $ex) {
|
|
|
Db::rollBack();
|
|
|
var_dump($ex->getMessage());
|
|
|
- return Result::error("创建失败", 0);
|
|
|
+ return Result::error("修改失败", 0);
|
|
|
}
|
|
|
- return Result::success([]);
|
|
|
+ $result = [
|
|
|
+ 'user' => $userRep,
|
|
|
+ 'userInfo' => $userInfoRep,
|
|
|
+ ];
|
|
|
+ return $result ? Result::success($result) : Result::error("修改失败", 0);
|
|
|
}
|
|
|
|
|
|
/**
|