|
@@ -68,7 +68,7 @@ class UserController extends BaseController
|
|
|
UserService::valid($info, $this->merchantId);
|
|
UserService::valid($info, $this->merchantId);
|
|
|
util::success($info);
|
|
util::success($info);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
//添加客户,申请会员时会自动同步资产 shish 2019.11.30
|
|
//添加客户,申请会员时会自动同步资产 shish 2019.11.30
|
|
|
public function actionAdd()
|
|
public function actionAdd()
|
|
|
{
|
|
{
|
|
@@ -80,7 +80,7 @@ class UserController extends BaseController
|
|
|
AdminService::verifyConfirmPassword($this->adminId, $confirmPassword);
|
|
AdminService::verifyConfirmPassword($this->adminId, $confirmPassword);
|
|
|
|
|
|
|
|
$mobile = $post['mobile'];
|
|
$mobile = $post['mobile'];
|
|
|
- $user = UserService::getByMobile($mobile);
|
|
|
|
|
|
|
+ $user = UserService::getByMobile($mobile, $this->merchantId);
|
|
|
if (!empty($user)) {
|
|
if (!empty($user)) {
|
|
|
util::fail('手机号已使用,客户已存在');
|
|
util::fail('手机号已使用,客户已存在');
|
|
|
}
|
|
}
|