diff --git a/go.sum b/go.sum index 08e4cc6..05a74f6 100644 --- a/go.sum +++ b/go.sum @@ -24,6 +24,7 @@ github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= diff --git a/pay/notify/paid.go b/pay/notify/paid.go index 055c0f3..63755fc 100644 --- a/pay/notify/paid.go +++ b/pay/notify/paid.go @@ -46,9 +46,9 @@ type PaidResult struct { CouponID0 *string `xml:"coupon_id_0"` CouponID1 *string `xml:"coupon_id_1"` CouponID2 *string `xml:"coupon_id_2"` - CouponFee0 *string `xml:"coupon_fee_0"` - CouponFee1 *string `xml:"coupon_fee_1"` - CouponFee2 *string `xml:"coupon_fee_2"` + CouponFeed0 *string `xml:"coupon_fee_0"` + CouponFeed1 *string `xml:"coupon_fee_1"` + CouponFeed2 *string `xml:"coupon_fee_2"` TransactionID *string `xml:"transaction_id"` OutTradeNo *string `xml:"out_trade_no"`