search_pricing.go 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package http_model
  2. type SearchPricingRequest struct {
  3. PageSize int32 `json:"page_size"`
  4. PageNum int32 `json:"page_num"`
  5. ProjectType string `json:"project_type"` //项目类型
  6. FeeForm string `json:"fee_form"` //稿费形式
  7. Platform string `json:"platform"` //社媒平台
  8. UpdateAt string `json:"update_at"` // 创建时间
  9. }
  10. type SearchPricingPreview struct {
  11. StrategyId string `json:"strategyId"` //定价策略编号
  12. ProjectType string `json:"project_type"` //项目类型
  13. Platform string `json:"platform"` //社媒平台
  14. ManuscriptForm string `json:"manuscript_form"` //稿费形式
  15. Fans string `json:"fans"` //对应创作者粉丝量
  16. BaseOffer string `json:"base_offer"` //基础报价
  17. PlatformFee string `json:"platform_fee"` //平台服务费
  18. UpdateTime string `json:"update_time"` // 更新时间
  19. }
  20. type SearchPricingData struct {
  21. SearchPricingPreview []*SearchPricingPreview `json:"search_pricing_preview"`
  22. Total string `json:"total"`
  23. }
  24. func NewSearchPricingRequest() *SearchPricingRequest {
  25. return new(SearchPricingRequest)
  26. }
  27. func NewSearchPricingResponse() *CommonResponse {
  28. resp := new(CommonResponse)
  29. resp.Data = new(SearchPricingPreview)
  30. return resp
  31. }