This commit is contained in:
2023-03-27 19:20:22 +08:00
parent 894354aaa3
commit 872e53fb47
5 changed files with 36 additions and 12 deletions
+5
View File
@@ -334,6 +334,11 @@ class LoginService extends BaseService
Db::rollBack();
return fail(HttpEnumCode::SERVER_ERROR);
}
// 创建im账号
$account = new Account();
// 创建单个账号
$account->createAccount($user->user_id,$user->user_name,"");
} else {
// 已注册用户
if ($user_type != $user['user_type']) {