更新用户注册
This commit is contained in:
parent
a2eac95e86
commit
5e8ae28ea2
|
@ -31,7 +31,7 @@ class LoginLogic extends BaseLogic
|
||||||
try {
|
try {
|
||||||
//添加到用户表
|
//添加到用户表
|
||||||
$user = User::create([
|
$user = User::create([
|
||||||
'admin_id' => $admin['id'],
|
'admin_id' => 0,
|
||||||
'phone' => $params['phone'],
|
'phone' => $params['phone'],
|
||||||
'nick_name' => '用户'.$params['phone'],
|
'nick_name' => '用户'.$params['phone'],
|
||||||
'password' => $userPassword,
|
'password' => $userPassword,
|
||||||
|
|
Loading…
Reference in New Issue