|
|
|
@ -1644,9 +1644,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
configJson.put("manager_name", manager.getString("username"));
|
|
|
|
|
configJson.put("update_time", new Date());
|
|
|
|
|
clientRateMapper.updateConfig(configJson);
|
|
|
|
|
if ("Rpay".equals(configJson.getString("rate_name"))) {
|
|
|
|
|
rpayApi.modifySurchargeConfig(client);
|
|
|
|
|
}
|
|
|
|
|
// if ("Rpay".equals(configJson.getString("rate_name"))) {
|
|
|
|
|
// rpayApi.modifySurchargeConfig(client);
|
|
|
|
|
// }
|
|
|
|
|
int clientId = client.getIntValue("client_id");
|
|
|
|
|
JSONObject changeRate = merchantInfoProvider.clientCurrentRate(clientId, new Date(), "Wechat");
|
|
|
|
|
int cleanDays = changeRate.getIntValue("clean_days");
|
|
|
|
|