注释调试会员baobei短信
This commit is contained in:
parent
4f7fea8273
commit
41bdd754c7
@ -67,16 +67,16 @@ class StoreController extends BaseApiController
|
|||||||
$recharge_type = $this->request->post('recharge_type',''); //微信支付条码
|
$recharge_type = $this->request->post('recharge_type',''); //微信支付条码
|
||||||
$code = $this->request->post('code','');//验证码
|
$code = $this->request->post('code','');//验证码
|
||||||
$phone = $params['mobile'];
|
$phone = $params['mobile'];
|
||||||
if($code && $phone){
|
// if($code && $phone){
|
||||||
$remark = $phone.'_reporting';
|
// $remark = $phone.'_reporting';
|
||||||
$codeCache = Cache::get($remark);
|
// $codeCache = Cache::get($remark);
|
||||||
if(empty($codeCache)){
|
// if(empty($codeCache)){
|
||||||
return $this->fail('验证码不存在');
|
// return $this->fail('验证码不存在');
|
||||||
}
|
// }
|
||||||
if ($codeCache != $code) {
|
// if ($codeCache != $code) {
|
||||||
return $this->fail('验证码错误');
|
// return $this->fail('验证码错误');
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
if($params['price']>10000){
|
if($params['price']>10000){
|
||||||
return $this->fail('充值金额不能大于10000');
|
return $this->fail('充值金额不能大于10000');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user