smm_data.go 1.5 KB

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