拍卖行:修复世界拍卖的时候整理格式报错
This commit is contained in:
@@ -121,9 +121,9 @@ export class AuctionHandler {
|
||||
if (auctionStage === AUCTION_STAGE.GUILD) {
|
||||
const dividend = await DividendModel.updateLot(code, gid, curPrice, incPrice, max);
|
||||
newDividend = await calculateDividend(dividend);
|
||||
await sendMessageToGuildWithSuc(guildCode, PUSH_ROUTE.DIVIDEND_UPDATE, { dividends: processDividendFormat([newDividend]) })
|
||||
}
|
||||
let newLotResult = processSingleLotFormat(newLot);
|
||||
await sendMessageToGuildWithSuc(guildCode, PUSH_ROUTE.DIVIDEND_UPDATE, { dividends: processDividendFormat([newDividend]) })
|
||||
return resResult(STATUS.SUCCESS, { lot: newLotResult, dividend: processSingleDividendFormat(newDividend) });
|
||||
} catch (e) {
|
||||
console.log('offer got err:', e);
|
||||
|
||||
Reference in New Issue
Block a user