|
|
@@ -56,7 +56,7 @@ class PropertyHeadController extends BaseAdminController
|
|
|
$result = PropertyHeadLogic::add($params);
|
|
|
if (true === $result) {
|
|
|
// 通过手机号查询用户是否注册 - 已注册绑定id ,未注册注册再绑定id
|
|
|
- $userId = UserLogic::getUserIdByMobile($params['head_mobile']);
|
|
|
+ $userId = UserLogic::getUserIdByMobile($params['head_mobile'], true);
|
|
|
PropertyHeadLogic::updateUserId($params['head_mobile'],$userId);
|
|
|
return $this->success('添加成功', [], 1, 1);
|
|
|
}
|