拍卖行:领取奖励、查看关注、查看出价的接口实现和测试用例

This commit is contained in:
liangtongchuan
2021-03-19 00:54:52 +08:00
parent 39228e1fc9
commit 63e0d33846
6 changed files with 143 additions and 15 deletions
@@ -41,4 +41,16 @@ export const LOT_STATUS = {
SOLD: 2, // 已拍出
}
export const ROLE_RECEIVE_STATUS = {
NO: 0, // 没领取
YES: 1, // 领取了
}
export const AUCTION_BID_STATUS = {
LEAD: 0, // 领先
RETURN: 1, // 退还
SUC: 2, // 竞拍成功
}
export const OFFER_RATIO = 1.1;
export const BID_REC_COUNT = 100;
+2
View File
@@ -194,6 +194,8 @@ export const STATUS = {
GUILD_LOT_NOT_FOUND: { code: 21001, simStr: '拍品未找到' },
LOT_OFFER_SERIAL: { code: 21002, simStr: '不能连续出价' },
DIVIDEND_NOT_READY: { code: 21003, simStr: '还不可以领取分红' },
DIVIDEND_GUILD_PLAYER_ONLY: { code: 21004, simStr: '需要参加军团活动才能领取' },
// 军团活动 21100-21199
GUILD_ACTIVITY_NOT_OPEN: { code: 21100, simStr: '活动未开放' },