| 123456789101112131415161718192021222324252627282930 | 
							- package pdd
 
- import (
 
- 	"fmt"
 
- 	"testing"
 
- )
 
- func TestPost(t *testing.T) {
 
- 	
 
- 	
 
- 	
 
- 	
 
- 	
 
- 	
 
- 	
 
- 	
 
- 	
 
- 	
 
- 	
 
- 	
 
- 	path := "https://gw-api.pinduoduo.com/api/router?type=pdd.ddk.goods.search&data_type=JSON&client_id=a5d05569c6584a50bfb6600b2d150bae×tamp=1620461572&sign=8F2C23805C8B8A388AFB512DD3EAD727"
 
- 	val, err := DuoDuoGet(path)
 
- 	if err != nil {
 
- 		fmt.Print("err = ", err.Error())
 
- 	}
 
- 	fmt.Print("val = ", val)
 
- }
 
 
  |