sync: 同步 v1.0.4 并脱敏配置与镜像

This commit is contained in:
MiFaZhan
2026-10-29 14:36:49 +08:00
parent 743e8e6e6e
commit 2206a393f7
516 changed files with 18119 additions and 2253 deletions
+18 -3
View File
@@ -3,9 +3,24 @@ package model
import "github.com/gogf/gf/v2/os/gtime"
type AgentDeptListParam struct {
DeptName string `json:"deptName"`
Status string `json:"status"`
DeptType *int `json:"deptType"`
ExportColumnsJson string `json:"exportColumnsJson"`
Page int `json:"page" d:"1" v:"min:1|max:100000000" `
PageSize int `json:"pageSize" d:"20" v:"min:1|max:2000" `
DeptName string `json:"deptName"`
Status string `json:"status"`
DeptType *int `json:"deptType"`
}
func (in *AgentDeptListParam) NormalizePagination() {
if in.Page <= 0 {
in.Page = 1
}
if in.PageSize <= 0 {
in.PageSize = 20
}
if in.PageSize > 2000 {
in.PageSize = 2000
}
}
type AgentDeptModel struct {