This commit is contained in:
assimon
2022-03-29 20:25:05 +08:00
commit 0b5eef242c
69 changed files with 3932 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package request
const (
OrderByFuncDesc = "DESC"
OrderByFuncAsc = "OrderByFuncASC"
)
var OrderByFuncList = []string{OrderByFuncDesc, OrderByFuncAsc}
type BaseRequest struct {
Page int `json:"page"` // 页数
PageSize int `json:"page_size"` // 每页条数
OrderField string `json:"order_field"` // 排序字段
OrderFunc string `json:"order_func"` // 排序方法
}