From 5632c28244e616fbf0ac82c9d39b17a3946e4206 Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Tue, 2 Apr 2019 21:40:24 +0800 Subject: [PATCH] 支付页面添加优惠券功能 --- .idea/vcs.xml | 6 ++++++ js/url.js | 6 +++++- stoppayment/Temporary/check.html | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------- stoppayment/select.html | 48 ++++++++++++++++++++++++------------------------ 4 files changed, 125 insertions(+), 56 deletions(-) create mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/js/url.js b/js/url.js index 2d15442..dbab9fa 100644 --- a/js/url.js +++ b/js/url.js @@ -86,7 +86,7 @@ mUrl.getJx = function(){ } /*end*/ - +// var cepath = 'http://39.98.54.240:8090' var cepath = 'http://pay.service.renniting.cn/v1';//http://pay.service.renniting.cn/v1//http://pay.service.renniting.cn//http://39.98.54.240:8090//http://app.api.dyszt.com:8090//var cepath = 'http://app.api.dyszt.com:8090';//https://pay.service.rnting.com//'http://47.96.41.38:8090'; /*----------------------------------------------登录登出绑定手机号 start*/ //发送验证码 @@ -213,3 +213,7 @@ mUrl.vipxwxfpay = cepath+ '/weixinpay/publicUnifiedOrder';//统一下单接口 mUrl.vipxwxpay = cepath+ '/weixinpay/unifiedVipCardOrder'; //会员卡支付宝支付app mUrl.vipxAliPay = cepath+ '/alipay/sendAliPayVipCardOrderInfo'; + + +//优惠券 +mUrl.discountUrl = cepath+ '/keyTopQrCodeInOutPark/useCouponQueryFee'; diff --git a/stoppayment/Temporary/check.html b/stoppayment/Temporary/check.html index ace6b2e..9744607 100644 --- a/stoppayment/Temporary/check.html +++ b/stoppayment/Temporary/check.html @@ -116,6 +116,22 @@ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
@@ -132,12 +148,13 @@ diff --git a/stoppayment/select.html b/stoppayment/select.html index 0033211..6a2f32e 100644 --- a/stoppayment/select.html +++ b/stoppayment/select.html @@ -18,12 +18,12 @@