From 4e5d0880642842aeb6ecded37181b8a38a06d2ab Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Fri, 30 Aug 2024 09:28:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=A0=A1=E9=AA=8C=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=AF=86=E7=A0=81=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/User.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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