Browse Source

add test

master
黄梓健 5 years ago
parent
commit
fd59b8a838
  1. 8
      test/order_test.go

8
test/order_test.go

@ -15,3 +15,11 @@ func TestUnifiedOrder(t *testing.T) {
}
fmt.Println(res)
}
func TestRefund(t *testing.T) {
res, err := pay_service.Refund("测试退款", "qfdyD0vJRHP2xJeoaerSWrGMXDacd5wo")
if err != nil {
t.Error(err)
}
fmt.Printf("%+v", res)
}
Loading…
Cancel
Save