创建拍品数据时给 bitRoles 默认值

This commit is contained in:
liangtongchuan
2022-06-06 21:56:41 +08:00
parent d4953e661a
commit 24c47b91b9

View File

@@ -193,7 +193,7 @@ export async function genAuction(guildCode: string, sourceType: number, sourceCo
return {
auctionStage: AUCTION_STAGE.DEFAULT, sourceType,
sourceCode, serverId, guildCode, code, gid: id, count, begin, end, status: LOT_STATUS.DEFAULT,
maxPrice, curPrice: basePrice, prePrice: 0, sort
maxPrice, curPrice: basePrice, prePrice: 0, sort, bidRoles: []
}
});
const lots = await LotModel.createRecs(lotsData);