全局:清理部分console

This commit is contained in:
luying
2021-04-13 17:30:51 +08:00
parent 4d14bc2676
commit 95adc48d2a
20 changed files with 25 additions and 28 deletions

View File

@@ -830,7 +830,7 @@ export class GuildHandler {
if (!checkResult) return resResult(STATUS.GUILD_AUTH_NOT_ENOUGH);
let startTime = getRefTime(new Date(), 0, -3);
console.log(startTime)
// console.log(startTime)
const list = await GuildRecModel.getGuildRec(code, getSeconds(startTime));
return resResult(STATUS.SUCCESS, { list });

View File

@@ -265,7 +265,7 @@ export class GateActivityHandler {
// ! 测试接口
async debugGetPrivate(msg: { }, session: BackendSession) {
let guildCode = session.get('guildCode');
console.log(guildCode);
// console.log(guildCode);
let serverId = session.get('serverId');
let res = getGateActivityObj().getObj(guildCode, serverId);
return resResult(STATUS.SUCCESS, res)

View File

@@ -32,7 +32,7 @@ export class ShopHandler {
let shopItemList = new Array<ShopItemListParam>(); // 返回
let dbDicShop = await DicShopListModel.findByShopId(shopId);
let userShopRecs = await UserShopModel.findMapByShopId(roleId, shopId);
console.log(JSON.stringify([...userShopRecs]))
// console.log(JSON.stringify([...userShopRecs]))
if(!dbDicShop || dbDicShop.useJson) { // 完全使用json中配置的商品数据库只做排序用数据库内没有的排到最后