You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.5 KiB
77 lines
1.5 KiB
|
1 year ago
|
package values
|
||
|
|
|
||
|
|
import "server/common"
|
||
|
|
|
||
|
|
// 图片存放地址
|
||
|
|
var (
|
||
|
|
ImagePath = "images"
|
||
|
|
)
|
||
|
|
|
||
|
|
// DownLoadImageReq 图片请求
|
||
|
|
type DownLoadImageReq struct {
|
||
|
|
ImagePath string `json:"ImagePath" binding:"required"` // 图片地址
|
||
|
|
}
|
||
|
|
|
||
|
|
// EditHistoryListReq 操作日志请求
|
||
|
|
type EditHistoryListReq struct {
|
||
|
|
Page uint `json:"Page" binding:"required"`
|
||
|
|
Num uint `json:"Num" binding:"required"`
|
||
|
|
}
|
||
|
|
|
||
|
|
// EditHistoryListResp 操作日志
|
||
|
|
type EditHistoryListResp struct {
|
||
|
|
List []EditHistory
|
||
|
|
Count int64
|
||
|
|
}
|
||
|
|
|
||
|
|
// // GoodListResp 请求物品列表返回
|
||
|
|
// type GoodListResp struct {
|
||
|
|
// List []*common.SheetGoods_config
|
||
|
|
// }
|
||
|
|
|
||
|
|
// ProductListResp 请求充值列表返回
|
||
|
|
type ProductListResp struct {
|
||
|
|
List []*common.ConfigPayProduct
|
||
|
|
}
|
||
|
|
|
||
|
|
// GamesListResp 游戏列表
|
||
|
|
type GamesListResp struct {
|
||
|
|
List []string
|
||
|
|
}
|
||
|
|
|
||
|
|
// ChannelListResp 渠道列表
|
||
|
|
type ChannelListResp struct {
|
||
|
|
List []*common.Channel
|
||
|
|
}
|
||
|
|
|
||
|
|
// UserInfoResp 获取用户信息
|
||
|
|
type UserInfoResp struct {
|
||
|
|
Name string
|
||
|
|
Role int
|
||
|
|
Power string
|
||
|
|
}
|
||
|
|
|
||
|
|
// GameInfoResp 游戏信息,游戏名称跟游戏id
|
||
|
|
type GameInfoResp struct {
|
||
|
|
List []GameInfo
|
||
|
|
RoomId []int
|
||
|
|
}
|
||
|
|
|
||
|
|
type GameInfo struct {
|
||
|
|
GameId int
|
||
|
|
Name string
|
||
|
|
}
|
||
|
|
|
||
|
|
// FeedbackListReq 玩家反馈
|
||
|
|
type FeedbackListReq struct {
|
||
|
|
Start string `json:"Start" binding:"required"`
|
||
|
|
End string `json:"End" binding:"required"`
|
||
|
|
Page int `json:"Page" binding:"required"`
|
||
|
|
Num int `json:"Num" binding:"required"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type FeedbackListResp struct {
|
||
|
|
List []*common.ESFeedback
|
||
|
|
Count int64
|
||
|
|
}
|