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

20 lines
752 B

  1. package jdSdk
  2. import (
  3. "fmt"
  4. "testing"
  5. )
  6. func TestConventUrl(t *testing.T) {
  7. rq := &RequestJD{
  8. PageIndex: 1, //
  9. UnionId: "d3ee30b44a6fec06fa8a4eee4bd541b2d279e836750f97dfe56144d7be74233d5d131b3028a81cfc", // 目标推客的联盟ID
  10. PageSize: 100, //推广位id
  11. Type: "3", //1:下单时间,2:完成时间,3:更新时间
  12. Time: "2022121910",
  13. }
  14. sdk, err := NewJDSDK().SelectFunction("order_follow").WithArgs(rq).Result()
  15. fmt.Println(string(sdk.ToBytes()))
  16. fmt.Println(err)
  17. }