mirror of
https://github.com/crystelf/crystelf-core.git
synced 2025-07-04 06:39:18 +00:00
细节优化
This commit is contained in:
parent
8a9c432d97
commit
09eb3d711f
@ -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);
|
||||||
|
@ -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 });
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user