调整接口

This commit is contained in:
2025-06-25 19:32:18 +08:00
parent 627aa8dcda
commit 853ee2190a
22 changed files with 189 additions and 40 deletions

View File

@ -110,3 +110,9 @@ type IPCreateIn struct {
type IPCreateOut struct {
Success bool `json:"success"`
}
type StoreDetailIn struct {
NetbarAccount string
}
type StoreDetailOut struct {
Id int64 `json:"id"`
}

View File

@ -26,11 +26,12 @@ type UserTask struct {
// UserTaskRankingIn 任务排行榜入参
type UserTaskRankingIn struct {
Page int
Size int
StoreId int
Type int // 排行榜类型 1:日 2:周 3
OperatorId int
Page int
Size int
StoreId int
NetBarAccount string
Type int // 排行榜类型 1:日 2:周 3
OperatorId int
}
// UserTaskRankingOut 用户排行榜出参
@ -58,11 +59,12 @@ type LoginUserRankingNum struct {
// GetTaskIn 添加任务记录入参
type GetTaskIn struct {
TaskId int `json:"taskId"`
StoreId int `json:"storeId"`
UserId int `json:"userId"`
TaskName string `json:"taskName"`
GameId int `json:"gid"`
TaskId int `json:"taskId"`
StoreId int `json:"storeId"`
NetBarAccount string `json:"netBarAccount"`
UserId int `json:"userId"`
TaskName string `json:"taskName"`
GameId int `json:"gid"`
}
type GetTaskOut struct {