This commit is contained in:
2025-07-07 20:11:59 +08:00
parent ab0fdbc447
commit 06e3aa2eb3
2009 changed files with 193082 additions and 0 deletions

25
api/v1/common/req.go Normal file
View File

@ -0,0 +1,25 @@
/*
* @desc:公共接口相关
* @company:云南奇讯科技有限公司
* @Author: yixiaohu<yxh669@qq.com>
* @Date: 2022/3/30 9:28
*/
package common
// PageReq 公共请求参数
type PageReq struct {
DateRange []string `p:"dateRange"` //日期范围
PageNum int `p:"pageNum"` //当前页码
PageSize int `p:"pageSize"` //每页数
OrderBy string //排序方式
NotInPlan bool `p:"notInPlan"` //是否过滤周计划中的id
}
type Author struct {
Authorization string `p:"Authorization" in:"header" dc:"Bearer {{token}}"`
}
type Paging struct {
IsPaging string `json:"isPaging" dc:"是否开启分页功能 YES开启 NO不开启空字符串也不开启分页默认"` //是否开启分页功能 YES开启 NO不开启空字符串也不开启分页默认
}