添加校验支付密码功能
This commit is contained in:
parent
4e5d088064
commit
3313be6267
@ -330,9 +330,9 @@ class User extends Api
|
||||
$post = $this->request->post();
|
||||
$result = UserLogic::checkPayPassword($post, $this->user_id);
|
||||
if ($result) {
|
||||
return JsonServer::success();
|
||||
return JsonServer::success('密码正确');
|
||||
}
|
||||
|
||||
return JsonServer::error();
|
||||
return JsonServer::error('密码错误');
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user