baiinfo_data.go 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package request
  2. // AddBaseFromBaiinfoClassifyReq 添加SMM分类请求
  3. type AddBaseFromBaiinfoClassifyReq struct {
  4. ParentId int `description:"上级id"`
  5. ClassifyName string `description:"分类名称"`
  6. //Level int `description:"层级,第一级传0,其余传上一级的层级"`
  7. }
  8. // EditBaseFromBaiinfoClassifyReq 修改SMM分类请求
  9. type EditBaseFromBaiinfoClassifyReq struct {
  10. ClassifyName string `description:"分类名称"`
  11. ClassifyId int `description:"分类id"`
  12. }
  13. // MoveBaseFromBaiinfoClassifyReq 移动分类请求参数
  14. type MoveBaseFromBaiinfoClassifyReq struct {
  15. ClassifyId int `description:"分类id"`
  16. ParentId int `description:"父级分类id"`
  17. PrevClassifyId int `description:"上一个兄弟节点分类id"`
  18. NextClassifyId int `description:"下一个兄弟节点分类id"`
  19. }
  20. // DelBaseFromBaiinfoClassifyReq 删除SMM分类请求
  21. type DelBaseFromBaiinfoClassifyReq struct {
  22. ClassifyId int `description:"分类id"`
  23. }
  24. // MoveBaseFromBaiinfoReq 移动指标请求参数
  25. type MoveBaseFromBaiinfoReq struct {
  26. ClassifyId int `description:"分类id"`
  27. BaseFromBaiinfoIndexId int `description:"指标id"`
  28. PrevBaseFromBaiinfoIndexId int `description:"上一个兄弟节点分类id"`
  29. NextBaseFromBaiinfoIndexId int `description:"下一个兄弟节点分类id"`
  30. }
  31. // EditBaseFromBaiinfoReq 编辑SMM指标
  32. type EditBaseFromBaiinfoReq struct {
  33. BaseFromBaiinfoIndexId int `description:"指标id"`
  34. ClassifyId int `description:"分类id"`
  35. Frequency string `description:"频度"`
  36. Unit string `description:"单位"`
  37. }
  38. // DelBaseFromBaiinfoReq 删除SMM指标
  39. type DelBaseFromBaiinfoReq struct {
  40. BaseFromBaiinfoIndexId int `description:"指标id"`
  41. }