wlog.go 749 B

12345678910111213141516171819202122
  1. package param
  2. // TargetLogParam log/target/list api param
  3. type TargetLogParam struct {
  4. Target int64 `form:"target" validate:"required,min=1"`
  5. Module int8 `form:"module" validate:"required,min=1"`
  6. }
  7. // LogListParam .
  8. type LogListParam struct {
  9. Business int64 `form:"business" validate:"required"`
  10. AdminIDs []int64 `form:"adminid,split"`
  11. OIDs []int64 `form:"oid,split"`
  12. MIDs []int64 `form:"up_mid,split"`
  13. TypeIDs []int64 `form:"typeids,split"`
  14. CTimeFrom string `form:"optctime_from"`
  15. CTimeTo string `form:"optctime_to"`
  16. Order string `form:"order" default:"opt_ctime"`
  17. Sort string `form:"sort_order" default:"desc"`
  18. PN int64 `form:"page" default:"1"`
  19. PS int64 `form:"ps" default:"50"`
  20. }