From 3ba735f64c4cd88c12f77d5177818db79a04cfe6 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Sun, 6 Oct 2024 21:08:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=87=BD=E6=95=B0=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/service/UserService.php b/app/api/service/UserService.php index cfd4953..4b4b32e 100644 --- a/app/api/service/UserService.php +++ b/app/api/service/UserService.php @@ -16,7 +16,7 @@ class UserService { /** * 用户登录操作,传入用户查询后才对比密码 */ - public function userlogin(string $uname,string $pass){ + public function login(string $uname,string $pass){ // query db $drs = User::where(['nick_name'=>$uname])->find(); // 异常处理