From d6c2b56f4d282770dd599e13fb39184eb6bd36e9 Mon Sep 17 00:00:00 2001 From: luying Date: Sat, 9 Oct 2021 14:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=EF=BC=9A=E5=86=9B=E5=9B=A2?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/auctionService.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game-server/app/services/auctionService.ts b/game-server/app/services/auctionService.ts index 6318f5858..76110cfcc 100644 --- a/game-server/app/services/auctionService.ts +++ b/game-server/app/services/auctionService.ts @@ -12,6 +12,7 @@ import { participants } from './guildActivityService'; import { Member } from '../domain/battleField/guildActivity'; import * as dicParam from '../pubUtils/dicParam'; import { RewardInter } from '../pubUtils/interface'; +import { errlogger } from '../util/logger'; // ! 获取底价,假数据 export function getBasePrice(gid: number, count: number) { @@ -159,6 +160,8 @@ export async function genAuction(guildCode: string, sourceType: number, sourceCo maxPrice, curPrice: basePrice, } }); + errlogger.error(`******genAuction begin ${begin} end ${end}`); + errlogger.error(`******genAuction ${JSON.stringify(lotsData)}`); const lots = await LotModel.createRecs(lotsData); const dividendCode = genCode(DIVIDEND_CODE_LEN); const dividendData: DividendParam = {