Commit d498c249 authored by 技术部-任文超's avatar 技术部-任文超

清除log

parent c1880e95
package cn.quantgroup.xyqb.util;
import cn.quantgroup.xyqb.Constants;
import cn.quantgroup.xyqb.controller.internal.user.UserController;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Calendar;
import java.util.regex.Matcher;
......@@ -16,7 +13,6 @@ import java.util.regex.Pattern;
*/
public class ValidationUtil {
private static final Logger LOGGER = LoggerFactory.getLogger(UserController.class);
private static String phoneRegExp = "^((13[0-9])|(14[0-9])|(15[0-9])|(17[0-9])|(18[0-9])|(19[0-9]))\\d{8}$";
private static String chineseNameRegExp = "^[\u4e00-\u9fa5]+(\\.|·)?[\u4e00-\u9fa5]+$";
private static String ipv4RegExp = "^((2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)\\.){3}(2[0-4][0-9]|25[0-5]|[01]?[0-9][0-9]?)$";
......@@ -63,7 +59,6 @@ public class ValidationUtil {
public static boolean isAtDangerousTime() {
Calendar now = Calendar.getInstance();
int hour = now.get(Calendar.HOUR_OF_DAY);
LOGGER.info("当前时间为:{}点,危险期范围:{}点至{}点", hour, Constants.DANGEROUS_TIME_START, Constants.DANGEROUS_TIME_END);
return Constants.DANGEROUS_TIME_START <= hour || hour < Constants.DANGEROUS_TIME_END;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment