feat(拍卖行): 拍卖行最后10s延长15s

This commit is contained in:
luying
2023-06-20 14:47:47 +08:00
parent 2841625391
commit ef567db157
11 changed files with 143 additions and 49 deletions

View File

@@ -709,6 +709,7 @@ export async function setDicAuctionTime(startTime: number, endActivity: number,
let endGuildDate = new Date(startGuildDate.getTime() + endGuild * 1000);
let startWorldDate = new Date(endGuildDate.getTime() + startWorld * 1000);
let endWorldDate = new Date(startWorldDate.getTime() + endWorld * 1000);
let startDividendData = new Date(startWorldDate.getTime() + 3 * 60 * 1000)
// console.log('********* setDicAuctionTime', startGuildDate, endGuildDate, startWorldDate, endWorldDate);
@@ -719,6 +720,7 @@ export async function setDicAuctionTime(startTime: number, endActivity: number,
gameData.auctionTime.set(AUCTION_TIME.WORLD_PREVIEW, formatTime(endGuildDate));
gameData.auctionTime.set(AUCTION_TIME.WORLD_OPEN, formatTime(startWorldDate));
gameData.auctionTime.set(AUCTION_TIME.WORLD_CLOSE, formatTime(endWorldDate));
gameData.auctionTime.set(AUCTION_TIME.DIVIDEND_START, formatTime(startDividendData));
// console.log('*********** setDicAuctionTime', gameData.auctionTime)
}