diff --git a/app/api/controller/User.php b/app/api/controller/User.php index 62ce50e2..e8605f02 100755 --- a/app/api/controller/User.php +++ b/app/api/controller/User.php @@ -328,6 +328,11 @@ class User extends Api public function checkPayPassword() { $post = $this->request->post(); - $reult = UserLogic::checkPayPassword($post, $this->user_id); + $result = UserLogic::checkPayPassword($post, $this->user_id); + if ($result) { + return JsonServer::success(); + } + + return JsonServer::error(); } } \ No newline at end of file