拍卖:拍品收藏
This commit is contained in:
@@ -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, bidRoles: []
|
||||
maxPrice, curPrice: basePrice, prePrice: 0, sort, bidRoles: [], watchingRoles: []
|
||||
}
|
||||
});
|
||||
const lots = await LotModel.createRecs(lotsData);
|
||||
|
||||
@@ -868,7 +868,7 @@ export function getDeclareIndex() {
|
||||
export function getJoinIndex() {
|
||||
let index = getGAIndexInPinus(GUILD_ACTIVITY_TYPE.RACE_ACTIVITY);
|
||||
let obj = getRaceActivityObj();
|
||||
if(obj.status == GUILD_ACTIVITY_STATUS.START) return index;
|
||||
if(obj.status == GUILD_ACTIVITY_STATUS.START || obj.status == GUILD_ACTIVITY_STATUS.END) return index;
|
||||
return index + 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user