广告平台(站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

53 line
2.2 KiB

  1. package md
  2. type AppletApplicationMediumListReq struct {
  3. Limit string `json:"limit"`
  4. Page string `json:"page" `
  5. Name string `json:"name" example:"媒体名称"`
  6. Account string `json:"account" example:"媒体账号"`
  7. }
  8. type AppletApplicationMediumListRes struct {
  9. List []AppletApplicationMediumListData `json:"list"`
  10. Total int64 `json:"total"`
  11. }
  12. type AppletApplicationMediumListData struct {
  13. Id string `json:"id" example:"id"`
  14. MediumId string `json:"medium_id" example:"媒体id"`
  15. Name string `json:"name" example:"名称"`
  16. Account string `json:"account" example:"账号"`
  17. ContactName string `json:"contact_name" example:"联系人"`
  18. Phone string `json:"phone" example:"联系电话"`
  19. Count string `json:"count" example:"应用数量"`
  20. }
  21. type AppletApplicationListReq struct {
  22. Limit string `json:"limit"`
  23. Page string `json:"page" `
  24. Name string `json:"name"`
  25. MediumId string `json:"medium_id" example:"媒体id"`
  26. CooperateState string `json:"cooperate_state" example:"合作状态"`
  27. Platform string `json:"platform"`
  28. }
  29. type AppletApplicationListRes struct {
  30. List []AppletApplicationListData `json:"list"`
  31. Total int64 `json:"total"`
  32. State []SelectData `json:"state"`
  33. CooperateState []SelectData `json:"cooperate_state"`
  34. Platform []SelectData `json:"platform"`
  35. }
  36. type AppletApplicationListData struct {
  37. Id string `json:"id" example:"id"`
  38. Name string `json:"name" example:"应用名称"`
  39. Platform string `json:"platform" example:"平台"`
  40. Memo string `json:"memo" example:"备注"`
  41. Logo string `json:"logo" example:"logo"`
  42. AppId string `json:"app_id" example:"小程序appid"`
  43. OriginalId string `json:"original_id" example:"小程序id"`
  44. State string `json:"state" example:"应用状态 state=3 才能再次编辑"`
  45. CooperateState string `json:"cooperate_state" example:"合作状态"`
  46. }
  47. type AppletApplicationSaveReq struct {
  48. Id string `json:"id" example:"id 多个逗号隔开"`
  49. State string `json:"state" example:"审核状态"`
  50. Memo string `json:"memo" example:"备注"`
  51. }