diff --git a/lib/fb_pay/fb_pay.go b/lib/fb_pay/fb_pay.go index d551c9d..4fb0939 100644 --- a/lib/fb_pay/fb_pay.go +++ b/lib/fb_pay/fb_pay.go @@ -20,7 +20,18 @@ func GetOrderQrcodeByVendorSn(vendorSn string) *RequestParameters { rp.Method = OrderQrcode return &rp } - +func GetRefundByVendorSn(vendorSn string) *RequestParameters { + var rp RequestParameters + rp.VendorSn = vendorSn + rp.Method = Refund + return &rp +} +func GetRefundQueryByVendorSn(vendorSn string) *RequestParameters { + var rp RequestParameters + rp.VendorSn = vendorSn + rp.Method = RefundQuery + return &rp +} func GetAggregateCodeByVendorSn(vendorSn string) *RequestParameters { var rp RequestParameters rp.VendorSn = vendorSn