|
|
@@ -92,7 +92,7 @@ class UserController extends BaseController
|
|
|
$arr = Json::decode($result);
|
|
|
$mobile = isset($arr['purePhoneNumber']) ? $arr['purePhoneNumber'] : '';
|
|
|
$userId = $user['id'];
|
|
|
- UserService::becomeMember($userId, $merchantId, ['mobile' => $mobile]);
|
|
|
+ UserService::becomeVip($userId, $merchantId, ['mobile' => $mobile]);
|
|
|
util::success(['mobile' => $mobile]);
|
|
|
}
|
|
|
|
|
|
@@ -156,7 +156,7 @@ class UserController extends BaseController
|
|
|
util::fail('手机号已经注册过了');
|
|
|
}
|
|
|
$update['mobile'] = $mobile;
|
|
|
- UserService::becomeMember($userId, $this->merchantId, $update);
|
|
|
+ UserService::becomeVip($userId, $this->merchantId, $update);
|
|
|
util::complete('注册成功');
|
|
|
}
|
|
|
|