摘要:
import org.apache.commons.lang3.StringUtils; import java.util.regex.Pattern; /** * 手机号校验工具类 */ public class PhoneCheckUtil { /** * 中国电信号码格式验证 手机段: 133 阅读全文
posted @ 2022-06-08 17:52
岁月记忆
阅读(315)
评论(0)
推荐(0)
摘要:
import java.util.concurrent.ThreadLocalRandom; public class NameUtil { // 头部 private static final String[] headerNameArray = new String[]{"快乐的", "冷静的" 阅读全文
posted @ 2022-06-08 17:13
岁月记忆
阅读(567)
评论(0)
推荐(0)
摘要:
package com.example.searchdemo.search.utils; import java.util.Random; /** * @version 1.0 * @PACKAGE_NAME: com.example.searchdemo.search.controller * @ 阅读全文
posted @ 2022-06-08 17:04
岁月记忆
阅读(227)
评论(0)
推荐(0)
摘要:
package com.ruoyi.framework.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotat 阅读全文
posted @ 2022-06-08 16:27
岁月记忆
阅读(271)
评论(0)
推荐(0)
摘要:
public static boolean judgeContainNumber(String str){ Pattern p = Pattern.compile(".*\\d+.*"); Matcher m = p.matcher(str); if (m.matches()){ System.ou 阅读全文
posted @ 2022-06-08 16:07
岁月记忆
阅读(91)
评论(0)
推荐(0)