log_coding.go 407 B

1234567891011121314151617181920
  1. package request
  2. import (
  3. "log-server/model/log"
  4. )
  5. type CodingLogRequest struct {
  6. Id uint `json:"id"`
  7. ParentId uint `json:"parent_id"`
  8. Coding int `json:"coding"`
  9. Describe string `json:"describe"`
  10. }
  11. type GetCodeListRequest struct {
  12. log.CodingLog
  13. PageInfo
  14. OrderKey string `json:"orderKey"` // 排序
  15. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  16. }