From eba63ac626ea54ae9110f57bac36925d12b2fff5 Mon Sep 17 00:00:00 2001 From: luoyang Date: Tue, 25 Jun 2019 16:07:36 +0800 Subject: [PATCH 1/8] =?UTF-8?q?add=20yeepay=20product=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/templates/cbpay/yeepay/v1/gateway_jsapi_phone.js | 4 ++++ .../static/templates/cbpay/yeepay/v2/gateway_jsapi_phone.js | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/main/ui/static/templates/cbpay/yeepay/v1/gateway_jsapi_phone.js b/src/main/ui/static/templates/cbpay/yeepay/v1/gateway_jsapi_phone.js index 5da9823f0..75284216c 100644 --- a/src/main/ui/static/templates/cbpay/yeepay/v1/gateway_jsapi_phone.js +++ b/src/main/ui/static/templates/cbpay/yeepay/v1/gateway_jsapi_phone.js @@ -44,6 +44,10 @@ $(document).ready(function () { alert('金额不能为0'); return; } + if (product == null || product.length === 0) { + alert('请填写真实的商品名称'); + return; + } $('#commit-btn').addClass('hidden'); $('#commit-btn-loading').removeClass('hidden'); diff --git a/src/main/ui/static/templates/cbpay/yeepay/v2/gateway_jsapi_phone.js b/src/main/ui/static/templates/cbpay/yeepay/v2/gateway_jsapi_phone.js index cca183ee6..493a36560 100644 --- a/src/main/ui/static/templates/cbpay/yeepay/v2/gateway_jsapi_phone.js +++ b/src/main/ui/static/templates/cbpay/yeepay/v2/gateway_jsapi_phone.js @@ -79,6 +79,11 @@ $(document).ready(function () { return; } + if (product == null || product.length === 0) { + alert('请填写真实的商品名称'); + return; + } + $('#commit-btn').addClass('hidden'); $('#commit-btn-loading').removeClass('hidden'); From 4cd4ed85b96969ef84cc26d238bcb64fac8f56db Mon Sep 17 00:00:00 2001 From: luoyang Date: Tue, 25 Jun 2019 16:23:06 +0800 Subject: [PATCH 2/8] =?UTF-8?q?add=20=E6=94=AF=E4=BB=98=E9=A1=B5cache?= =?UTF-8?q?=E6=B8=85=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payment/manage/merchants/core/impls/ClientManagerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java index e4f595761..e27db5253 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java @@ -3218,6 +3218,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid } checkOrgPermission(manager, client); clientModifySupport.processClientConfigModify(new PaypadVersionModify(manager, clientMoniker, paypad_version)); + clientInfoCacheSupport.clearClientMonikerConfigCache(client.getString("client_moniker")); } @Override @@ -3338,7 +3339,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid throw new InvalidShortIdException(); } clientModifySupport.processClientConfigModify(new PaypadVersionModify(account, client.getString("client_moniker"), paypad_version)); - + clientInfoCacheSupport.clearClientMonikerConfigCache(client.getString("client_moniker")); } @Override From 72b505ee673084e9b49958584878f8fc1e9b2243 Mon Sep 17 00:00:00 2001 From: luoyang Date: Tue, 25 Jun 2019 16:53:29 +0800 Subject: [PATCH 3/8] fix --- .../payment/manage/merchants/core/impls/ClientManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java index e27db5253..5e1e71643 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java @@ -3218,7 +3218,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid } checkOrgPermission(manager, client); clientModifySupport.processClientConfigModify(new PaypadVersionModify(manager, clientMoniker, paypad_version)); - clientInfoCacheSupport.clearClientMonikerConfigCache(client.getString("client_moniker")); + clientInfoCacheSupport.clearClientMonikerConfigCache(clientMoniker); } @Override From 877e057d38906794092bba7a8594656edc8b971f Mon Sep 17 00:00:00 2001 From: "james.zhao" Date: Wed, 26 Jun 2019 09:19:59 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E6=97=A5=E6=8A=A5=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E5=B1=8F=E8=94=BD=E6=94=AF=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/reports/daily_report.html | 82 +++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/src/main/resources/templates/reports/daily_report.html b/src/main/resources/templates/reports/daily_report.html index 1cbb05e2c..b04ca4c48 100644 --- a/src/main/resources/templates/reports/daily_report.html +++ b/src/main/resources/templates/reports/daily_report.html @@ -29,8 +29,8 @@
@@ -94,46 +94,46 @@
- +