master
ELF 5 years ago
parent 4536b77714
commit 4b46cd4563

@ -810,7 +810,7 @@ var PhoneObj = {
dataType: 'JSON',
data:{
account: account,
password: regpassword,
password: password,
promote_id: promoteId
},
success: function (result) {

@ -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();

Loading…
Cancel
Save