新增游戏人生领取奖励相关接口

This commit is contained in:
chy
2025-06-20 16:56:28 +08:00
parent db97319cf9
commit 2280762db9
12 changed files with 241 additions and 59 deletions

View File

@ -127,7 +127,7 @@ type QQNetbarActivityIn struct {
}
type GiftResponse struct {
GiftItem giftItem `json:"rst_list"`
GiftItem []giftItem `json:"rst_list"`
}
type gameRoleInfo struct {

View File

@ -93,11 +93,11 @@ type RewardListOut struct {
// RewardCallbackIn 任务奖励领取回调入参
type RewardCallbackIn struct {
AreaId int64
GameId int64
RewradTypeId []int64
AreaId int
GameId int
RewradTypeId []int
RoleIdx string
TaskId int64
TaskId string
}
type Water struct {
@ -116,7 +116,9 @@ type GetGoodsListIn struct {
Num int64 `json:"num"`
OrderType string `json:"orderType"`
OrderbyDesc int64 `json:"orderbDesc"`
Goodsstatus int64 `json:"Goodsstatus"`
Goodsstatus int64 `json:"goodsstatus"`
BindType int `json:"bindType"`
UserId int64 `json:"userId"`
}
type GetGoodsListOut struct {

View File

@ -24,6 +24,8 @@ type User struct {
LastLoginStoreId int `json:"lastLoginStoreId" orm:"last_login_store_id"` // 最后登录门店ID
LastLoginStoreName string `json:"lastLoginStoreName" orm:"last_login_store_name"` // 最后登录门店名称
FirstVisitAt *gtime.Time `json:"firstVisitAt" orm:"first_visit_at"` // 首次访问时间
QQPopenId string `json:"qqpopenid" orm:"qqpopenid"`
WXPopenId string `json:"wxpopenid" orm:"wxpopenid"`
}
// UserCreateIn 创建用户请求