全局:清理部分console
This commit is contained in:
@@ -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 });
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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中配置的商品,数据库只做排序用,数据库内没有的排到最后
|
||||
|
||||
Reference in New Issue
Block a user