Skip to content

Commit b66810c

Browse files
committed
把默认时区信息调整为 Local, 需要指定时区的,可以在 New 函数中通过 WithTimeLocation 进行调整。
1 parent 61f1ccb commit b66810c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trade_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TestClient_TradePagePay(t *testing.T) {
2828
p.NotifyURL = "http://220.112.233.229:3000/alipay"
2929
p.ReturnURL = "http://220.112.233.229:3000"
3030
p.Subject = "修正了中文的 Bug"
31-
p.OutTradeNo = "trade_no_20170623011121d1"
31+
p.OutTradeNo = "trade_no_201706230111212"
3232
p.TotalAmount = "10.00"
3333
p.ProductCode = "FAST_INSTANT_TRADE_PAY"
3434

0 commit comments

Comments
 (0)