添加国美api,删除老版本蜂鸟API,添加抖音授权api、
This commit is contained in:
32
platformapi/gome_live_show/system_model.go
Normal file
32
platformapi/gome_live_show/system_model.go
Normal file
@@ -0,0 +1,32 @@
|
||||
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"` // 总页数
|
||||
}
|
||||
Reference in New Issue
Block a user