2024-06-04 10:09:26 +08:00
|
|
|
package pay
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestClient_GetUserInfo(t *testing.T) {
|
|
|
|
|
2024-11-27 11:17:21 +08:00
|
|
|
//c, err := NewClient()
|
|
|
|
//if err != nil {
|
|
|
|
// t.Error(err)
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//req := CreateComplaintNotifyUrlRequest()
|
|
|
|
//
|
|
|
|
//req.MchId = "3503"
|
|
|
|
//req.NotifyUrl = "https://pay.uu89.com/api/complaint/wxNotify/3503"
|
|
|
|
//req.Type = 1
|
|
|
|
//
|
|
|
|
//resp, err := c.ComplaintNotifyUrl(req)
|
|
|
|
//if err != nil {
|
|
|
|
// log.Fatalln(err)
|
|
|
|
//}
|
|
|
|
//fmt.Println(resp.GetHttpContentString())
|
|
|
|
//fmt.Println(resp.GetHttpHeaders())
|
2024-06-04 10:09:26 +08:00
|
|
|
}
|