|
@@ -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;
|
|
|
}
|
|
|
|