fix no wechat rate

master
luoyang 5 years ago
parent 6eaa98c908
commit d0bc236ce5

@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>2.2.24</version>
<version>2.2.25</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<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"))) {
// rpayApi.modifySurchargeConfig(client);
// }
if (StringUtils.equalsIgnoreCase("rpaypmt_card", config.getRateName())) {
return;
}
int clientId = client.getIntValue("client_id");
JSONObject changeRate = merchantInfoProvider.clientCurrentRate(clientId, new Date(), "Wechat");
int cleanDays = changeRate.getIntValue("clean_days");

Loading…
Cancel
Save