第三方api接口
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.

31 lines
793 B

  1. package taobao
  2. import (
  3. "testing"
  4. )
  5. func TestGoods(t *testing.T) {
  6. args := map[string]interface{}{
  7. "pid": "alsc_18113681_1962024_4704169",
  8. "activity_id": "10144",
  9. "sid": "21702s1",
  10. "include_wx_img": true,
  11. "include_qrcode": true,
  12. }
  13. ElemePromotionOfficialactivityGet("34319215", "bb07710660e60a321350a35e1e3b91e8", args)
  14. args = map[string]interface{}{
  15. "pid": "alsc_18113681_1962024_4704169",
  16. "page_size": 10,
  17. "page": 1,
  18. "biz_unit": 2,
  19. "start_date": "2023-03-18 17:00:00",
  20. "end_date": "2023-03-18 17:20:00",
  21. "date_type": 1,
  22. "order_state": "",
  23. "order_id": "",
  24. "settle_state": "",
  25. "flow_type": "",
  26. }
  27. AlibabaAlscUnionKbcpxPositiveOrder("34319215", "bb07710660e60a321350a35e1e3b91e8", args)
  28. }