创建拍品数据时给 bitRoles 默认值
This commit is contained in:
@@ -193,7 +193,7 @@ export async function genAuction(guildCode: string, sourceType: number, sourceCo
|
|||||||
return {
|
return {
|
||||||
auctionStage: AUCTION_STAGE.DEFAULT, sourceType,
|
auctionStage: AUCTION_STAGE.DEFAULT, sourceType,
|
||||||
sourceCode, serverId, guildCode, code, gid: id, count, begin, end, status: LOT_STATUS.DEFAULT,
|
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);
|
const lots = await LotModel.createRecs(lotsData);
|
||||||
|
|||||||
Reference in New Issue
Block a user