fix no wechat rate

master
luoyang 4 years ago
parent c74fb2ac28
commit 759d2bf172

@ -9,7 +9,7 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<version>2.2.24</version> <version>2.2.25</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.8.0</jib-maven-plugin.version> <jib-maven-plugin.version>1.8.0</jib-maven-plugin.version>

@ -2163,6 +2163,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
// if ("Rpay".equals(configJson.getString("rate_name"))) { // if ("Rpay".equals(configJson.getString("rate_name"))) {
// rpayApi.modifySurchargeConfig(client); // rpayApi.modifySurchargeConfig(client);
// } // }
if (StringUtils.equalsIgnoreCase("rpaypmt_card", config.getRateName())) {
return;
}
int clientId = client.getIntValue("client_id"); int clientId = client.getIntValue("client_id");
JSONObject changeRate = merchantInfoProvider.clientCurrentRate(clientId, new Date(), "Wechat"); JSONObject changeRate = merchantInfoProvider.clientCurrentRate(clientId, new Date(), "Wechat");
int cleanDays = changeRate.getIntValue("clean_days"); int cleanDays = changeRate.getIntValue("clean_days");

Loading…
Cancel
Save