From 5e8ae28ea2ebd5efe6a1661c177829665a6b38b0 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Mon, 13 Nov 2023 11:21:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7=E6=B3=A8?= =?UTF-8?q?=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LoginLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/LoginLogic.php b/app/api/logic/LoginLogic.php index 9e966f35..83ac3334 100644 --- a/app/api/logic/LoginLogic.php +++ b/app/api/logic/LoginLogic.php @@ -31,7 +31,7 @@ class LoginLogic extends BaseLogic try { //添加到用户表 $user = User::create([ - 'admin_id' => $admin['id'], + 'admin_id' => 0, 'phone' => $params['phone'], 'nick_name' => '用户'.$params['phone'], 'password' => $userPassword,