✨ feat(拍卖行): 拍卖行最后10s延长15s
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user