From a8deefce83a2987501a8ba21073b1774ced68e9d Mon Sep 17 00:00:00 2001 From: msb_89821 Date: Wed, 19 Oct 2022 10:07:07 +0800 Subject: [PATCH] =?UTF-8?q?add:=E6=B7=BB=E5=8A=A0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mashibing/online/text/controller/PassengerController.java | 2 +- .../mashibing/sendserver/controller/SendSmsCodeController.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/oneLineTxt/v1/onelinetextplublic/api-passinger/src/main/java/mashibing/online/text/controller/PassengerController.java b/oneLineTxt/v1/onelinetextplublic/api-passinger/src/main/java/mashibing/online/text/controller/PassengerController.java index dc6cd60..e6bf511 100644 --- a/oneLineTxt/v1/onelinetextplublic/api-passinger/src/main/java/mashibing/online/text/controller/PassengerController.java +++ b/oneLineTxt/v1/onelinetextplublic/api-passinger/src/main/java/mashibing/online/text/controller/PassengerController.java @@ -81,7 +81,7 @@ public class PassengerController { userInfo.setPhoneNumber(phone); userInfo.setToken(token); stringRedisTemplate.opsForValue().set(PassengerConsonant.phoneNumberTokenPreKey + phone+PassengerConsonant.PassengerIdendity, - token,30,TimeUnit.MINUTES); + token,2,TimeUnit.HOURS); return ResponseResult.success(userInfo); } diff --git a/oneLineTxt/v1/onelinetextplublic/send-server/src/main/java/com/mashibing/sendserver/controller/SendSmsCodeController.java b/oneLineTxt/v1/onelinetextplublic/send-server/src/main/java/com/mashibing/sendserver/controller/SendSmsCodeController.java index 71cbc7d..3d84b5b 100644 --- a/oneLineTxt/v1/onelinetextplublic/send-server/src/main/java/com/mashibing/sendserver/controller/SendSmsCodeController.java +++ b/oneLineTxt/v1/onelinetextplublic/send-server/src/main/java/com/mashibing/sendserver/controller/SendSmsCodeController.java @@ -79,6 +79,7 @@ public class SendSmsCodeController { String msg="【我来啦】尊敬的用户,您的验证码为:"+radom+",2分钟有效"; Map params = prepareParams(smsAccount.getAccount(), smsAccount.getPassword(), phoneNumber, msg, null, null, UUID.randomUUID().toString()); + log.info("配置参数是33={}",JSON.toJSONString(smsAccount)); String rutlet=post(smsAccount.getUrl() + PATH_SEND_SMS, params); log.info("==="+rutlet); if(StringUtils.isBlank(rutlet)){