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