|
@@ -77,6 +77,12 @@ func (payParam *PayParam) Send(prd, isNeedEncode bool, method string) (string, e |
|
|
url = url + "/upcp-iap-pps-lqrp/libQrPay/json/create" |
|
|
url = url + "/upcp-iap-pps-lqrp/libQrPay/json/create" |
|
|
case "pay": |
|
|
case "pay": |
|
|
url = url + "/upcp-iap-pps-lqrp/libQrPay/json/pay" |
|
|
url = url + "/upcp-iap-pps-lqrp/libQrPay/json/pay" |
|
|
|
|
|
case "revoke": |
|
|
|
|
|
url = url + "/upcp-iap-pps-lqrp/libQrPay/json/revoke" |
|
|
|
|
|
case "refund": |
|
|
|
|
|
url = url + "/upcp-iap-pps-lqrp/libQrPay/json/refund" |
|
|
|
|
|
case "query": |
|
|
|
|
|
url = url + "/upcp-iap-pps-lqrp/libQrPay/json/query" |
|
|
} |
|
|
} |
|
|
headers := map[string]string{ |
|
|
headers := map[string]string{ |
|
|
"Content-Type": "application/json", |
|
|
"Content-Type": "application/json", |
|
|