From bce19956337d3bf451db2ec9c6ff35da2c8c79d2 Mon Sep 17 00:00:00 2001 From: "eason.qian" Date: Fri, 9 Mar 2018 18:25:42 +0800 Subject: [PATCH] fix --- .../payment/manage/merchants/core/impls/ClientManagerImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 386be760f..3cfb5f1cd 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 @@ -3123,7 +3123,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid @Override public JSONObject getCheckClientInfo(int client_id,String account_id) { JSONObject result = clientContractService.getClientContractExpire(client_id); - JSONObject config = sysConfigManager.getSysConfig(); JSONObject account = clientAccountMapper.findById(account_id); boolean expire = result.getBoolean("rate_expire"); boolean waring = result.getBoolean("rate_waring"); @@ -3141,7 +3140,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid result.put("is_ordinary", false); if (!expire && waring) { String[] key = { result.getString("expire_days") }; - result.put("contract_info", messageSource.getMessage("sys.contract.waring", null, RequestEnvironment.getLocale())); + result.put("contract_info", editContractOrdinaryWaring(key,messageSource.getMessage("sys.contract.waring", null, RequestEnvironment.getLocale()))); } if (expire) { result.put("contract_info", messageSource.getMessage("sys.contract.info", null, RequestEnvironment.getLocale()));