Browse Source

Merge remote-tracking branch 'origin/master'

wangyangyang 4 years ago
parent
commit
5e5facfba6

+ 2 - 2
user_auth/src/main/java/com/huaxu/security/smsCode/SmsCodeCheckUserFilter.java

@@ -66,8 +66,8 @@ public class SmsCodeCheckUserFilter extends OncePerRequestFilter {
         String smsCode = request.getParameter("smsCode");
         String mobile = request.getParameter("mobile");
         log.info("validate mobile={},smsCode={}",mobile,smsCode);
-
-        if (active.equals("sit") && StringUtils.equals(smsCode,"2020")) {
+        boolean sitFlag=active.equals("sit")||active.equals("prd");
+        if (sitFlag&& StringUtils.equals(smsCode,"2020")) {
             return;
         }
 

+ 1 - 1
user_auth/src/main/resources/application-prd.properties

@@ -66,7 +66,7 @@ getSendCodeMax=2
 receive.exchange.name=messageExchangeTest
 dispath.routing.key=dipathKeyTest
 dispath.queue=dispathTest
-
+iot.url=http://114.135.61.188:58080