打印Bot信息

This commit is contained in:
tonglin 2023-03-07 10:55:52 +08:00
parent a1a0b3113a
commit 00343cfa94
1 changed files with 5 additions and 0 deletions

View File

@ -119,6 +119,11 @@ public class UserService extends AbstractUserBot implements IUserService {
registerMapper.insert(registerBot);
log.info("注册Bot结束{}",JSON.toJSONString(shiftBotToBotOutputVo(botVO,insertBot)));
Bot bot = botMapper.selectById(registerBot.getBotId());
log.info("bot:{}",JSON.toJSONString(bot));
RegisterBot registerBot1 = registerMapper.selectById(registerBot.getBotId());
log.info("registerBot:{}",JSON.toJSONString(registerBot1));
//激活Bot
Response response = api.activeBotAuth(botVO.getUserId(), registerBot.getBotId(), AuthOperate.AUTH_ACTIVE);
log.info("激活信息:{}",response);