diff --git a/app/api/controller/User.php b/app/api/controller/User.php index e8605f02..790aebeb 100755 --- a/app/api/controller/User.php +++ b/app/api/controller/User.php @@ -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('密码错误'); } } \ No newline at end of file