自动化立体仓库 - WMS系统
lty
2025-08-22 e7f4361235bd763b1f75a4e6a5aa9cf0cbd7797a
src/main/java/com/zy/common/properties/SystemProperties.java
@@ -15,7 +15,8 @@
    public static final String SALT = "123456789qwertyu";
    // 系统激活状态 (默认未激活)
    public static boolean SYSTEM_ACTIVATION = Boolean.FALSE;
//    public static boolean SYSTEM_ACTIVATION = Boolean.FALSE;
    public static boolean SYSTEM_ACTIVATION = Boolean.TRUE;
    public static String getActivationCode(String fileName){
        StringBuilder activationCode = new StringBuilder();
@@ -63,7 +64,7 @@
    // 生成激活码
    public static void main(String[] args) {
        String timeStr = "2020-08-01 17:48:35";
        String timeStr = "2021-08-01 17:48:35";
        Date exprTime = DateUtils.convert(timeStr);
        String code = AesUtils.encrypt(DateUtils.convert(exprTime, DateUtils.yyyyMMddHHmmss), SystemProperties.SALT);
        System.out.println("激活码:"+code);