|
|
|
@ -105,7 +105,7 @@ class CommonController extends BaseController {
|
|
|
|
|
$gameId = $params['game_id'] ?? 0;
|
|
|
|
|
|
|
|
|
|
#验证短信验证码
|
|
|
|
|
$this->smsVerify($params['account'], $params['code']);
|
|
|
|
|
$this->smsVerify($params['account'], $params['verify_code']);
|
|
|
|
|
|
|
|
|
|
$res = $this->doRegister($params['account'], $params['password'], $params['account'], $promoteId, 4, 2, $gameId);
|
|
|
|
|
if(empty($res)){
|
|
|
|
@ -125,7 +125,7 @@ class CommonController extends BaseController {
|
|
|
|
|
if (empty($params)) {
|
|
|
|
|
$this->respondError('基础信息不能为空');
|
|
|
|
|
}
|
|
|
|
|
$this->smsVerify($params['account'], $params['code']);
|
|
|
|
|
$this->smsVerify($params['account'], $params['verify_code']);
|
|
|
|
|
//更新密码
|
|
|
|
|
$userApi = new MemberApi();
|
|
|
|
|
$userInfo = M("user", "tab_")->where("account = '".$params['account']."'")->find();
|
|
|
|
|