feat: 修改用户注册逻辑,增加默认值
This commit is contained in:
parent
0286d428e6
commit
950cd2fe3a
@ -82,7 +82,7 @@ class UserLogic extends BaseLogic
|
||||
'account' => $params['mobile'],
|
||||
'password' => $password,
|
||||
'mobile' => $params['mobile'],
|
||||
'user_ship' => $params['user_ship'],
|
||||
'user_ship' => $params['user_ship']??0,
|
||||
|
||||
];
|
||||
$res=User::create($data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user