jenkins:debug用拍卖行测试出价

This commit is contained in:
luying
2022-06-07 13:31:20 +08:00
parent ecbe93856c
commit 90e729b686
3 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -515,7 +515,9 @@ export async function pushAuctionUpdate(lots: LotType[], dividends: DividendType
}
export async function checkAuctionStage(auctionStage: number) {
export async function checkAuctionStage(auctionStage: number, magicWord: string) {
if(magicWord == DEBUG_MAGIC_WORD) return true
const curTime = await getCurrentTimeWithSetDay();
if(auctionStage != AUCTION_STAGE.GUILD && auctionStage != AUCTION_STAGE.WORLD) return false;
if(auctionStage == AUCTION_STAGE.GUILD) {