smm_data.go 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package request
  2. // AddBaseFromSmmClassifyReq 添加SMM分类请求
  3. type AddBaseFromSmmClassifyReq struct {
  4. ParentId int `description:"上级id"`
  5. ClassifyName string `description:"分类名称"`
  6. }
  7. // EditBaseFromSmmClassifyReq 修改SMM分类请求
  8. type EditBaseFromSmmClassifyReq struct {
  9. ClassifyName string `description:"分类名称"`
  10. ClassifyId int `description:"分类id"`
  11. }
  12. // MoveBaseFromSmmClassifyReq 移动分类请求参数
  13. type MoveBaseFromSmmClassifyReq struct {
  14. ClassifyId int `description:"分类id"`
  15. ParentId int `description:"父级分类id"`
  16. PrevClassifyId int `description:"上一个兄弟节点分类id"`
  17. NextClassifyId int `description:"下一个兄弟节点分类id"`
  18. }
  19. // DelBaseFromSmmClassifyReq 删除SMM分类请求
  20. type DelBaseFromSmmClassifyReq struct {
  21. ClassifyId int `description:"分类id"`
  22. }
  23. // MoveBaseFromSmmReq 移动指标请求参数
  24. type MoveBaseFromSmmReq struct {
  25. ClassifyId int `description:"分类id"`
  26. BaseFromSmmIndexId int `description:"指标id"`
  27. PrevBaseFromSmmIndexId int `description:"上一个兄弟节点分类id"`
  28. NextBaseFromSmmIndexId int `description:"下一个兄弟节点分类id"`
  29. }
  30. // EditBaseFromSmmReq 编辑SMM指标
  31. type EditBaseFromSmmReq struct {
  32. BaseFromSmmIndexId int `description:"指标id"`
  33. ClassifyId int `description:"分类id"`
  34. }
  35. // DelBaseFromSmmReq 删除SMM指标
  36. type DelBaseFromSmmReq struct {
  37. BaseFromSmmIndexId int `description:"指标id"`
  38. }