冲突解决
This commit is contained in:
@@ -44,7 +44,8 @@ func TestCreateUnifiedOrder(t *testing.T) {
|
||||
OutTradeNo: orderNo,
|
||||
SpbillCreateIP: "114.114.114.114",
|
||||
TradeType: TradeTypeNative,
|
||||
TotalFee: 2,
|
||||
TotalFee: 1,
|
||||
ProfitSharing: OptYes,
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -64,11 +65,11 @@ func TestCloseOrder(t *testing.T) {
|
||||
func TestPayRefund(t *testing.T) {
|
||||
result, err := api.PayRefund(&PayRefundParam{
|
||||
TransactionID: "",
|
||||
OutTradeNo: "8E0DD6260B7511EA908C186590E02977",
|
||||
OutTradeNo: "88316516447981",
|
||||
NotifyURL: "http://callback.test.jxc4.com/wxpay/msg/",
|
||||
OutRefundNo: utils.GetUUID(),
|
||||
TotalFee: 1,
|
||||
RefundFee: 1,
|
||||
OutRefundNo: "88316516447981",
|
||||
TotalFee: 8987,
|
||||
RefundFee: 8987,
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user