package com.example.catchTheLetters.constant; /** * @author 慕华 * @date 2024/4/8 * @Version 1.0 * @description */ public interface CommonConstant { String TOKEN_SECRET = "sadao_idfdv_uvnbdson_wd01jsdnvcz"; Integer TOKEN_EXPIRE_TIME = 7200000; Integer REDIS_EXPIRE_TIME = 7 * 24 * 60 * 60 * 1000; String EMAIL_REGEX = "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$"; String PHONE_REGEX = "^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\\d{8}$"; String EMAIL = "email"; String PHONE = "phone"; String USERNAME = "username"; String STATUS = "status"; }