🐞 fix(拍卖行): 部分拍品误流入世界拍卖行
This commit is contained in:
@@ -114,7 +114,7 @@ export class AuctionHandler {
|
||||
}
|
||||
bidRoles.push({ roleId, price: newPrice, time: new Date() });
|
||||
const newLot = await LotModel.updateLot({ code, curBuyer: roleId, curPrice: newPrice, auctionStage, prePrice: curPrice, bidRoles, status: max ? LOT_STATUS.MAX : (maxFlag ? LOT_STATUS.SOLD : LOT_STATUS.ING), watchingRoles: Array.from(new Set([...watchingRoles, roleId])), seq: 0 });
|
||||
if(seq <= LOTS_KEEP_TO_WORLD_CNT) await LotModel.setSeq(begin, gid, count, seq);
|
||||
if(seq <= LOTS_KEEP_TO_WORLD_CNT && seq > 0) await LotModel.setSeq(begin, gid, count, seq);
|
||||
await pushAuctionOver(newLot); // 推送竞价超过标志
|
||||
res.releaseCallback();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user