Commit f54cf88f by 杨树贤

用户名是邮箱

parent 0d8576fa
Showing with 1 additions and 0 deletions
...@@ -25,6 +25,7 @@ class UserService ...@@ -25,6 +25,7 @@ class UserService
$userId = UserModel::insertGetId([ $userId = UserModel::insertGetId([
'first_name' => $data['first_name'], 'first_name' => $data['first_name'],
'last_name' => $data['last_name'], 'last_name' => $data['last_name'],
'name' => $data['email'],
'email' => $data['email'], 'email' => $data['email'],
'phone' => $data['phone'], 'phone' => $data['phone'],
'email_verified_at' => now(), 'email_verified_at' => now(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment