将探索状态中已领取改成9

This commit is contained in:
CounterFire2023 2024-04-09 13:27:14 +08:00
parent 208731dfd3
commit bb28f444e1
2 changed files with 19 additions and 5 deletions

View File

@ -27,6 +27,7 @@
#### 20240408 #### 20240408
1. 增加宝箱助力状态查询(26), 用于助力上链前查询是否符合条件 1. 增加宝箱助力状态查询(26), 用于助力上链前查询是否符合条件
1. 用户状态接口(10)增加返回当日可助力次数 1. 用户状态接口(10)增加返回当日可助力次数
1. 开启宝箱(19), 宝箱开启记录(20)增加返回额外的物品
### 1. 钱包预登录 ### 1. 钱包预登录
@ -583,6 +584,14 @@ body:
```js ```js
{ {
score: 100, // 获得的积分 score: 100, // 获得的积分
items: [
{
id: "001", // 物品id
type: 1, // 1白单, 2: nft
name: "", // 物品名
amount: 1 // 数量
}
]
} }
``` ```
@ -602,7 +611,15 @@ body:
chest: '123123123', chest: '123123123',
level: 1, // 箱子品级 level: 1, // 箱子品级
score: 100, // 获得的积分 score: 100, // 获得的积分
time: 111 // 开启时间 time: 111, // 开启时间
items: [
{
id: "001", // 物品id
type: 1, // 1白单, 2: nft
name: "", // 物品名
amount: 1 // 数量
}
]
}] }]
``` ```
@ -708,7 +725,6 @@ body:
} }
``` ```
###
### 26.\* 宝箱助力状态查询 ### 26.\* 宝箱助力状态查询
@ -740,5 +756,3 @@ body:
enhanced: 0, // 用户是否已经为当前宝箱助力 enhanced: 0, // 用户是否已经为当前宝箱助力
} }
``` ```
###

View File

@ -207,7 +207,7 @@ class GameController extends BaseController {
} }
if (record.lastSignDay === dateTag) { if (record.lastSignDay === dateTag) {
// 检查是否已领取 // 检查是否已领取
todayStat = 2 todayStat = 9
} }
const scoreBonus = seqSignScore(checkRecord?.count || 0) const scoreBonus = seqSignScore(checkRecord?.count || 0)
const ticketRecords = await TicketRecord.find({ const ticketRecords = await TicketRecord.find({