细节优化

This commit is contained in:
Jerry 2025-05-07 15:36:26 +08:00
parent 8a9c432d97
commit 09eb3d711f
2 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,8 @@ class BotController {
if (returnData) { if (returnData) {
await response.success(res, returnData); await response.success(res, returnData);
logger.debug(returnData); logger.debug(returnData);
} else {
await response.error(res);
} }
} else { } else {
await tools.tokenCheckFailed(res, token); await tools.tokenCheckFailed(res, token);

View File

@ -35,6 +35,7 @@ class BotService {
continue; continue;
} }
botList.forEach((bot) => { botList.forEach((bot) => {
//logger.debug(bot);
if (bot.uin && bot.nickName) { if (bot.uin && bot.nickName) {
uins.push({ uin: bot.uin, nickName: bot.nickName }); uins.push({ uin: bot.uin, nickName: bot.nickName });
} }