拍卖行:世界拍卖行不显示已售出拍品
This commit is contained in:
@@ -321,7 +321,7 @@ export async function startWorldAuction() {
|
||||
try {
|
||||
console.log('schedule startWorldAuction called:', new Date());
|
||||
const begin = await todayGuildBegin();
|
||||
let lots = await LotModel.setLotSoldByBegin(begin); // 正在竞拍的拍品
|
||||
let lots = await LotModel.setLotSoldByBegin(begin, AUCTION_STAGE.GUILD); // 正在竞拍的拍品
|
||||
await sendLotsRewardToMlail(lots);
|
||||
lots = await LotModel.updateUnSoldLotsStageByBegin(begin, AUCTION_STAGE.WORLD);
|
||||
let dividends = await DividendModel.updateDividendsStatus(begin, DIVIDEND_STATUS.END);
|
||||
@@ -344,7 +344,7 @@ export async function stopAuction() {
|
||||
try {
|
||||
console.log('schedule stopAuction called:', new Date());
|
||||
const begin = await todayGuildBegin();
|
||||
let lots = await LotModel.setLotSoldByBegin(begin); // 正在竞拍的拍品
|
||||
let lots = await LotModel.setLotSoldByBegin(begin, AUCTION_STAGE.WORLD); // 正在竞拍的拍品
|
||||
await sendLotsRewardToMlail(lots);
|
||||
lots = await LotModel.updateLotsStageByBegin(begin, AUCTION_STAGE.END);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user