package pdd

import (
	"duoduo/tools"
	"fmt"
	"testing"
)

func TestPddCode(t *testing.T) {
	path := "https://jinbao.pinduoduo.com/open.html?response_type=code&client_id=a5d05569c6584a50bfb6600b2d150bae&redirect_uri=https://jinbao.pinduoduo.com/promotion/single-promotion&state=1212"

	dd, err := DuoDuoGet(path)
	if err != nil {
		fmt.Print("err = ", err.Error())
	}

	fmt.Print("dd = ", dd)

	tools.GetCurrntTime()
}