修复缓存
Build docker and publish / build (20.15.1) (push) Successful in 7m26s

This commit is contained in:
2026-03-06 21:58:29 -08:00
parent 19932bb9f7
commit 4d913c1728
175 changed files with 437 additions and 12104 deletions
-25
View File
@@ -1,25 +0,0 @@
package alipay
import (
"context"
"testing"
)
func TestClientPreCreateTrade(t *testing.T) {
t.Skipf("Skip TestClientPreCreateTrade")
cfg := Config{
InvoiceName: "XrayR",
NotifyURL: "https://example.com/alipay/notify",
Sandbox: true,
}
c := NewClient(cfg)
order := Order{
OrderNo: "20210701000001",
Amount: 100,
}
qr, err := c.PreCreateTrade(context.Background(), order)
if err != nil {
t.Fatal(err)
}
t.Log(qr)
}