Browse Source

修改

master
453530270@qq.com 2 years ago
parent
commit
fdad68c91d
  1. 8
      app/Http/Controllers/Appapi/V1/UserWalletController.php

8
app/Http/Controllers/Appapi/V1/UserWalletController.php

@ -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) {

Loading…
Cancel
Save