package request import ( "log-server/model/log" ) type CodingLogRequest struct { Id uint `json:"id"` ParentId uint `json:"parent_id"` Coding int `json:"coding"` Describe string `json:"describe"` } type GetCodeListRequest struct { log.CodingLog PageInfo OrderKey string `json:"orderKey"` // 排序 Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true }