From 2936b1072ed9dfe9b5edb552b4b5cec4b355830d Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Thu, 19 Apr 2018 20:42:17 +0800 Subject: [PATCH] order bind qrcode version --- src/main/ui/static/templates/alipay/v1/payment.js | 1 + src/main/ui/static/templates/bestpay/v1/app_pay.js | 1 + src/main/ui/static/templates/payment/v1/payment.js | 1 + 3 files changed, 3 insertions(+) diff --git a/src/main/ui/static/templates/alipay/v1/payment.js b/src/main/ui/static/templates/alipay/v1/payment.js index dace0a34c..c8a8dc8ef 100644 --- a/src/main/ui/static/templates/alipay/v1/payment.js +++ b/src/main/ui/static/templates/alipay/v1/payment.js @@ -254,6 +254,7 @@ $(function () { data.customerrate = true; } data.coupons = dataCache.coupons; + data.qrcodeVersion = window.qrcodeVersion; dataCache.remark = ''; $.ajax({ diff --git a/src/main/ui/static/templates/bestpay/v1/app_pay.js b/src/main/ui/static/templates/bestpay/v1/app_pay.js index 3a8894baf..80ec913ec 100644 --- a/src/main/ui/static/templates/bestpay/v1/app_pay.js +++ b/src/main/ui/static/templates/bestpay/v1/app_pay.js @@ -100,6 +100,7 @@ $(function () { } remarkInput.val(''); data.account_id = User.getProduct(); + data.qrcodeVersion = window.qrcodeVersion; $.ajax({ url: '/api/v1.0/bestpay/partners/' + window.client_moniker + '/app_order', method: 'POST', diff --git a/src/main/ui/static/templates/payment/v1/payment.js b/src/main/ui/static/templates/payment/v1/payment.js index cbc8f374b..3fc6a65d7 100644 --- a/src/main/ui/static/templates/payment/v1/payment.js +++ b/src/main/ui/static/templates/payment/v1/payment.js @@ -248,6 +248,7 @@ $(function () { data.customerrate = true; } data.coupons = dataCache.coupons; + data.qrcodeVersion = window.qrcodeVersion; dataCache.remark = ''; $.ajax({ url: '/api/payment/v1.0/wechat_jsapi_payment/partners/' + window.client_moniker + '/preorder',