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.
24 lines
933 B
24 lines
933 B
package MySwagger
|
|
|
|
// Query(后台)入口参数
|
|
type DatahyperQueryFE struct {
|
|
// 接入系统票据
|
|
AccessToken string `json:"access_token" example:"system_01##20200102030405##a6ce11eab94df48a6ce11eab"`
|
|
// 查询ID
|
|
QueryID string `json:"query_id" example:"test002"`
|
|
// 条件查询
|
|
QueryCondition []interface{} `json:"query_conditions" swaggertype:"array,string" example:"22,33"`
|
|
// 组合条件查询
|
|
QueryCombination string `json:"query_combinations" example:"subject_code='22' AND a='1' AND b='2'"`
|
|
// 每页数量
|
|
QueryPerPage int `json:"query_perpage" example:"20"`
|
|
// 当前页数
|
|
QueryPage int `json:"query_page" example:"1"`
|
|
// 排序
|
|
QueryOrder []string `json:"query_order" example:"id ASC,name DESC"`
|
|
// 字段筛选
|
|
QueryCols []string `json:"query_cols" example:"id,name,time"`
|
|
// 数据格式
|
|
QueryFormat string `json:"query_format" example:"json/model"`
|
|
}
|