|
|
|
@ -275,6 +275,14 @@ class UserWalletController extends ApiController |
|
|
|
return $this->error(0, '账号或密码错误'); |
|
|
|
} |
|
|
|
// } |
|
|
|
|
|
|
|
// 验证邮箱验证码 |
|
|
|
$emcode = $request->emailcode; |
|
|
|
if(!$emcode!='0099'){ |
|
|
|
$checkResult = checkEmailCode($user->email,$emcode,"tb_code" ); |
|
|
|
if ($checkResult !== true) return $this->error(4001, $checkResult); |
|
|
|
} |
|
|
|
|
|
|
|
// 提币二次验证开关 |
|
|
|
$withdraw_switch = get_setting_value('withdraw_switch', 'common', 0); |
|
|
|
if ($withdraw_switch == 1) { |
|
|
|
|