冲突解决

This commit is contained in:
苏尹岚
2020-02-04 17:44:17 +08:00
2 changed files with 30 additions and 15 deletions

View File

@@ -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)