商品rpc数据格式及调用方法
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.

33 lines
733 B

2 years ago
  1. package productrpc
  2. type GetActivityParam struct {
  3. SiteId string `json:"site_id"`
  4. Dbname string `json:"database"`
  5. Id string `json:"id"`
  6. SkuId string `json:"sku_id"`
  7. }
  8. type GetUuidParam struct {
  9. SiteId string `json:"site_id"`
  10. Dbname string `json:"database"`
  11. Uuid string `json:"uuid"`
  12. Field string `json:"field"`
  13. }
  14. type BoolRet struct {
  15. Value bool `json:"value"`
  16. Msg string `json:"msg"`
  17. }
  18. type ReqParam struct {
  19. SiteId string `json:"site_id"`
  20. Dbname string `json:"database"`
  21. Id string `json:"id"`
  22. Field string `json:"field"`
  23. }
  24. type FavoriteParam struct {
  25. SiteId string `json:"site_id"`
  26. Dbname string `json:"database"`
  27. ProductId string `json:"product_id"`
  28. UserId string `json:"user_id"`
  29. }