From e9573f77f7ad505bae3e888e56e4029d9b5f9708 Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Mon, 28 May 2018 19:15:24 +0800 Subject: [PATCH] update --- .../application/core/impls/SimpleClientApplyServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java index fc4b29bfb..6a5104131 100644 --- a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java @@ -140,7 +140,7 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService { String registerClientCode = RandomStringUtils.random(6, false, true); param.add("RoyalPay"); param.add(registerClientCode); - String expireMin = (String) sysConfig.getOrDefault("sms.verification.code.expire", 3); + String expireMin = String.valueOf(sysConfig.getOrDefault("sms.verification.code.expire", 3)); param.add(expireMin); try { sender.sendWithParam(nationCode.trim(), phoneNumber, REGISTER_CLIENT_TEMPLID, param, "RoyalPay", "", "");