注释test
This commit is contained in:
parent
956e294a2f
commit
4f63f8f302
@ -1,28 +1,26 @@
|
|||||||
package pay
|
package pay
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"log"
|
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestClient_GetUserInfo(t *testing.T) {
|
func TestClient_GetUserInfo(t *testing.T) {
|
||||||
|
|
||||||
c, err := NewClient()
|
//c, err := NewClient()
|
||||||
if err != nil {
|
//if err != nil {
|
||||||
t.Error(err)
|
// t.Error(err)
|
||||||
}
|
//}
|
||||||
|
//
|
||||||
req := CreateComplaintNotifyUrlRequest()
|
//req := CreateComplaintNotifyUrlRequest()
|
||||||
|
//
|
||||||
req.MchId = "3503"
|
//req.MchId = "3503"
|
||||||
req.NotifyUrl = "https://pay.uu89.com/api/complaint/wxNotify/3503"
|
//req.NotifyUrl = "https://pay.uu89.com/api/complaint/wxNotify/3503"
|
||||||
req.Type = 1
|
//req.Type = 1
|
||||||
|
//
|
||||||
resp, err := c.ComplaintNotifyUrl(req)
|
//resp, err := c.ComplaintNotifyUrl(req)
|
||||||
if err != nil {
|
//if err != nil {
|
||||||
log.Fatalln(err)
|
// log.Fatalln(err)
|
||||||
}
|
//}
|
||||||
fmt.Println(resp.GetHttpContentString())
|
//fmt.Println(resp.GetHttpContentString())
|
||||||
fmt.Println(resp.GetHttpHeaders())
|
//fmt.Println(resp.GetHttpHeaders())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user