datadef.go
1.02 KB
package logic
//
type GetcurpropertyReq struct {
Openid string `json:"openid"`
}
type GetcurpropertyData struct {
Protery int64 `json:"protery"`
Speed int64 `json:"speed"`
Curlevle int64 `json:"curlevle"`
Leftcnt int `json:"leftcnt"`
}
type GetcurpropertyResp struct {
ErrNum int `json:"errNum"`
RetMsg string `json:"retMsg"`
RetData GetcurpropertyData `json:"retData"`
}
//------------------------------------------------------------------------------------------------------
type UserData struct {
Openid string
LastGetTime int //上一次请求物资时间戳,如果超过三次时间间隔则不计算收益
LeftCnt int //当天剩余领取宝箱次数
MaxLevel int //当前最高枪等级
Property int64 //当前物资
TotalFetchCnt int //累计领取次数
SignRound int //签到轮数
SingDay int //签到天数
IsSign int //当天是否已经签到
TodaySec int //当天零点时间戳,用于判断跨天
}