更新用户注册

This commit is contained in:
yaooo 2023-11-13 11:21:30 +08:00
parent a2eac95e86
commit 5e8ae28ea2
1 changed files with 1 additions and 1 deletions

View File

@ -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,