feat:modify config
This commit is contained in:
parent
28fc64c1b5
commit
0cbf09a20b
@ -94,10 +94,12 @@ public class AccountService {
|
||||
}
|
||||
UserAccountResp userAccountResp = createAccountRegister(robotId, robotId, AppTypeEnum.SYSTEM.getCode(),
|
||||
AccountTypeEnum.ROBOT.getCode(), robotAccountReq.getHeadImageUrl(), robotAccountReq.getNickName());
|
||||
//生成后更新机器人状态和IM账户
|
||||
robotInfoService.updateRobotStatus(robotId, userAccountResp.getImAccount(), RobotStatusEnum.UN_ENABLE);
|
||||
if (iNotifyService != null && userAccountResp != null && StringUtils.isNotBlank(userAccountResp.getImAccount())) {
|
||||
iNotifyService.notifyUserAccountChange(userAccountResp.getImAccount(), robotInfo.getNickName(), null);
|
||||
if (userAccountResp != null && StringUtils.isNotBlank(userAccountResp.getImAccount())) {
|
||||
//生成后更新机器人状态和IM账户
|
||||
robotInfoService.updateRobotStatus(robotId, userAccountResp.getImAccount(), RobotStatusEnum.UN_ENABLE);
|
||||
if (iNotifyService != null) {
|
||||
iNotifyService.notifyUserAccountChange(userAccountResp.getImAccount(), robotInfo.getNickName(), null);
|
||||
}
|
||||
}
|
||||
return userAccountResp;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user