|
|
|
@ -319,13 +319,13 @@ class BaseController extends RestController{
|
|
|
|
|
} else {
|
|
|
|
|
switch ($result['code']) {
|
|
|
|
|
case 1021:{
|
|
|
|
|
$this->set_message(1010,"fail","验证码已失效,请重新获取");
|
|
|
|
|
$this->new_set_message(1010,"验证码已失效,请重新获取");
|
|
|
|
|
};break;
|
|
|
|
|
case 1022:{
|
|
|
|
|
$this->set_message(1022,"fail","验证码不正确,请重新输入");
|
|
|
|
|
$this->new_set_message(1022,"验证码不正确,请重新输入");
|
|
|
|
|
};break;
|
|
|
|
|
default:
|
|
|
|
|
$this->set_message($result['code'],"fail",$result['msg']);
|
|
|
|
|
$this->new_set_message($result['code'],$result['msg']);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|