+
Rates
-
+ ng-if="partner.rate_editable && (('11'|withRole)||((!partner.approve_result||partner.approve_result>4) && ('111'|withRole)))"
+ ng-click="newRate()">
+
-
-
-
-
-
- Rate Name |
- Rate Value |
- Domestic Rate Value |
- International Rate Value |
- Transaction Fee |
- Active Time |
- Expire Time |
-
- Clean Days
- |
- Update Time |
- Operator |
- Remark |
- Operation |
-
-
-
-
- |
- |
- |
- |
- |
- |
- |
-
- T+{{rate.clean_days}}
- |
- |
- |
- |
-
-
-
- (Promotional Offer)
-
-
- |
-
-
-
-
+
+
+
+
+
+
+
+
+ Rate Name |
+ Rate Value |
+ Domestic Rate Value |
+ International Rate Value |
+ Transaction Fee |
+ Active Time |
+ Expire Time |
+
+ Clean Days
+ |
+ Update Time |
+ Operator |
+ Remark |
+ Operation |
+
+
+
+
+ |
+ |
+ |
+
+ |
+ |
+ |
+ |
+
+ T+{{rate.clean_days}}
+ |
+ |
+ |
+ |
+
+
+
+ (Promotional Offer)
+
+
+ |
+
+
+
+
+
+
+
+
+
+
AlipayPlus Rates
+
+
+
+
+
+
+
+ Rate Name |
+ Rate Value |
+ Transaction Fee |
+ Active Time |
+ Expire Time |
+ Clean Days |
+ Update Time |
+ Operator |
+ Remark |
+ Operation |
+
+
+
+
+ |
+ |
+ |
+ |
+ |
+ T+{{rate.clean_days}} |
+ |
+ |
+ |
+
+
+
+ (Promotional Offer)
+
+
+ |
+
+
+
+
-
-
+
\ No newline at end of file
diff --git a/src/main/ui/static/payment/partner/templates/partner_new_alipayplus_rate.html b/src/main/ui/static/payment/partner/templates/partner_new_alipayplus_rate.html
new file mode 100644
index 000000000..996cba8c1
--- /dev/null
+++ b/src/main/ui/static/payment/partner/templates/partner_new_alipayplus_rate.html
@@ -0,0 +1,150 @@
+
+
+
\ No newline at end of file
diff --git a/src/main/ui/static/templates/alipay/v1/bill_retail_jsapi.js b/src/main/ui/static/templates/alipay/v1/bill_retail_jsapi.js
index 7e7290d52..4afadc43b 100644
--- a/src/main/ui/static/templates/alipay/v1/bill_retail_jsapi.js
+++ b/src/main/ui/static/templates/alipay/v1/bill_retail_jsapi.js
@@ -24,7 +24,7 @@ $(document).ready(function () {
dataCache.paying = true;
$.ajax({
- url: '/api/v1.0/alipay/partners/' + window.client_moniker + '/orders/'+window.order_id+'/order_params',
+ url: '../order_params',
method: 'GET',
dataType: 'json',
success: function (pay) {
@@ -32,6 +32,11 @@ $(document).ready(function () {
location.href = window.redirect;
return;
}
+ if (pay.web_from) {
+ $('#alipay_plus').html(pay.web_from)
+ location.href = window.redirect;
+ return;
+ }
if (window.AlipayJSBridge) {
callPayment();
} else {
diff --git a/src/main/ui/static/templates/alipay/v1/retail_jsapi.js b/src/main/ui/static/templates/alipay/v1/retail_jsapi.js
index 6b74c75cf..6e1145907 100644
--- a/src/main/ui/static/templates/alipay/v1/retail_jsapi.js
+++ b/src/main/ui/static/templates/alipay/v1/retail_jsapi.js
@@ -24,7 +24,7 @@ $(document).ready(function () {
dataCache.paying = true;
$.ajax({
- url: '/api/v1.0/alipay/partners/' + window.client_moniker + '/orders/'+window.order_id+'/order_params',
+ url: './order_params',
method: 'GET',
dataType: 'json',
success: function (pay) {
@@ -32,6 +32,11 @@ $(document).ready(function () {
location.href = window.redirect;
return;
}
+ if (pay.web_from) {
+ $('#alipay_plus').html(pay.web_from)
+ startCheckOrder(window.order_id, window.redirect);
+ return;
+ }
if (window.AlipayJSBridge) {
callPayment();
} else {
@@ -88,6 +93,9 @@ $(document).ready(function () {
} else {
setTimeout(checkOrderStd, 500);
}
+ },
+ error:function (){
+ setTimeout(checkOrderStd, 500);
}
})
}
diff --git a/src/main/ui/static/templates/payment/v1/gateway_jsapi.js b/src/main/ui/static/templates/payment/v1/gateway_jsapi.js
index 6b76458a1..9b50c79b5 100644
--- a/src/main/ui/static/templates/payment/v1/gateway_jsapi.js
+++ b/src/main/ui/static/templates/payment/v1/gateway_jsapi.js
@@ -113,6 +113,9 @@ $(document).ready(function () {
} else {
setTimeout(checkOrderStd, 500);
}
+ },
+ error:function (){
+ setTimeout(checkOrderStd, 500);
}
})
}
diff --git a/uidocker/conf.d/default.conf b/uidocker/conf.d/default.conf
index d2567b576..e3deafc4f 100644
--- a/uidocker/conf.d/default.conf
+++ b/uidocker/conf.d/default.conf
@@ -68,7 +68,7 @@ server {
}
- location ~ ^/api/v1.0/((alipay\w*)|(customs)|(rpay)|(yeepay)|(card_payment_view)|(lakala_pay)|(cb_bankpay)|(bestpay)|(hf)|(\w*gateway)|(micropay)|(retail_qrcode)|(share_code)|(payment)|(h5_payment)/ {
+ location ~ ^/api/v1.0/((alipay\w*)|(customs)|(rpay)|(yeepay)|(card_payment_view)|(lakala_pay)|(cb_bankpay)|(bestpay)|(hf)|(\w*gateway)|(micropay)|(retail_qrcode)|(share_code)|(payment)|(h5_payment))/ {
proxy_pass http://rppaycenter;
proxy_http_version 1.1;