广告平台(媒体使用)
 
 
 
 
 
 

36 line
1.6 KiB

  1. package md
  2. type AppletApplicationListReq struct {
  3. Limit string `json:"limit"`
  4. Page string `json:"page" `
  5. Name string `json:"name"`
  6. CooperateState string `json:"cooperate_state" example:"合作状态"`
  7. Platform string `json:"platform"`
  8. }
  9. type AppletApplicationListRes struct {
  10. List []AppletApplicationListData `json:"list"`
  11. Total int64 `json:"total"`
  12. State []SelectData `json:"state"`
  13. CooperateState []SelectData `json:"cooperate_state"`
  14. Platform []SelectData `json:"platform"`
  15. }
  16. type AppletApplicationListData struct {
  17. Id string `json:"id" example:"id"`
  18. Name string `json:"name" example:"应用名称"`
  19. Platform string `json:"platform" example:"平台"`
  20. Memo string `json:"memo" example:"备注"`
  21. Logo string `json:"logo" example:"logo"`
  22. AppId string `json:"app_id" example:"小程序appid"`
  23. OriginalId string `json:"original_id" example:"小程序id"`
  24. State string `json:"state" example:"应用状态 state=3 才能再次编辑"`
  25. CooperateState string `json:"cooperate_state" example:"合作状态"`
  26. }
  27. type AppletApplicationSaveReq struct {
  28. Id string `json:"id" example:"id"`
  29. Name string `json:"name" example:"应用名称"`
  30. Platform string `json:"platform" example:"平台 微信小程序:wx_applet"`
  31. Logo string `json:"logo" example:"logo"`
  32. AppId string `json:"app_id" example:"小程序appid"`
  33. OriginalId string `json:"original_id" example:"小程序id"`
  34. }