+
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/alipay/v5/payment.js b/src/main/ui/static/templates/alipay/v5/payment.js
index c43709374..5c1498ad3 100644
--- a/src/main/ui/static/templates/alipay/v5/payment.js
+++ b/src/main/ui/static/templates/alipay/v5/payment.js
@@ -234,7 +234,7 @@ $(function () {
$('.pay_button').css({"background-color":"#eee",}).attr('disabled',true);
$('.bank_button').css({"background-color":"#eee",}).attr('disabled',true);
}else{
- $('.pay_button').css({"background-color":"#19AD18",}).attr('disabled',false);
+ $('.pay_button').css({"background-color":"#108ee9",}).attr('disabled',false);
$('.bank_button').css({"background-color":"#FF6600",}).attr('disabled',false);
}
});
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 ea284d694..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))/ {
+ 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;