From 2f4c5d3dc46ae1977fd618197f4dcf3fc4c00356 Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Mon, 22 Mar 2021 11:39:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=8D=E5=8D=96=E8=A1=8C=EF=BC=9A=E4=B8=96?= =?UTF-8?q?=E7=95=8C=E6=8B=8D=E5=8D=96=E5=BC=80=E5=A7=8B=E6=97=B6=E5=B0=B1?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E8=AE=A1=E7=AE=97=E5=88=86=E7=BA=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/auctionService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/services/auctionService.ts b/game-server/app/services/auctionService.ts index c6e6bffd2..442936823 100644 --- a/game-server/app/services/auctionService.ts +++ b/game-server/app/services/auctionService.ts @@ -179,6 +179,7 @@ export async function startWorldAuction() { const begin = todayGuildBegin(); await LotModel.setLotSoldByBegin(begin); await LotModel.updateLotsStageByBegin(begin, AUCTION_STAGE.WORLD); + await DividendModel.updateDividendsStatus(begin, DIVIDEND_STATUS.END); return true; } catch (e) { console.error('startWorldAuction err: ', e); @@ -192,7 +193,6 @@ export async function stopAuction() { const begin = todayGuildBegin(); await LotModel.setLotSoldByBegin(begin); await LotModel.updateLotsStageByBegin(begin, AUCTION_STAGE.END); - await DividendModel.updateDividendsStatus(begin, DIVIDEND_STATUS.END); return true; } catch (e) { console.error('stopAuction err: ', e);