Files
baseapi/platformapi/gome_live_show/system_model.go

33 lines
1.1 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package gome_live_show
// 系统参数,所有接口都需要携带的参数
type SystemParameterReq struct {
AuthToken string `json:"authToken"` // 访问令牌,需要定时刷新获取
Timestamp int64 `json:"timestamp"` // 时间戳默认有效时间为10分钟
Version string `json:"version"` // 版本号
Sign string `json:"sign"` // 签名
Biz string `json:"biz"` // 业务参数json字符串为空时请传{}
}
// 系统参数返回值
type SystemParameterRes struct {
Code int64 `json:"code"` // 响应码
Timestamp int64 `json:"timestamp"` // 时间戳(秒)
Message string `json:"message"` // 响应描述
RequestId string `json:"requestId"` // 请求id
}
type Page struct {
PageNumber int `json:"pageNumber"` // 查询页码
PageSize int `json:"pageSize"` // 展示条数默认显示10条最高50条
}
// 系统参数,返回列表数据详情
type SystemRecordDataDetailRes struct {
Page
StartRow int `json:"startRow"` // 开始行
EndRow int `json:"endRow"` // 结束行
Total int `json:"total"` // 列表总数
PageTotal int `json:"pageTotal"` // 总页数
}