作者 郭盛
1 个管道 的构建 通过 耗费 9 秒

修改验证码

... ... @@ -348,7 +348,7 @@ class Login extends Api
if (!$validate->check($param)) {
$this->error(['code'=>40005,'msg'=>$validate->getError()]);
}
$code = Cache::get($param['phone']);
$code = Cache::get($param['mobile']);
if($param['code'] == $code){
$this->success('SUCCESS');
}else{
... ...