0
0

添加设备

This commit is contained in:
2025-06-30 16:59:12 +08:00
parent 0969a7cd1f
commit eac1b2e016
21 changed files with 567 additions and 162 deletions

View File

@ -0,0 +1,30 @@
package com.fuyuanshen.equipment.constants;
/**
* @author: 默苍璃
* @date: 2025-06-0609:42
*/
public class DeviceConstants {
/**
* 文件访问路径前缀
*/
public static final String FILE_ACCESS_PREFIX = "images";
/**
* 文件访问路径前缀
*/
public static final String FILE_ACCESS_ISOLATION = "device";
/**
* 错误报告目录
*/
public static final String ERROR_REPORT_DIR = "error_reports";
/**
* 文件访问IP地址
*/
// public static final String FILE_ACCESS_IP = "http://fuyuanshen.com:81/";
public static final String FILE_ACCESS_IP = "https://fuyuanshen.com/";
}

View File

@ -0,0 +1,14 @@
package com.fuyuanshen.equipment.constants;
/**
* @author: 默苍璃
* @date: 2025-06-1109:26
*/
public class ExceptionMessages {
/**
* 禁止管理员操作客户数据的提示
*/
public static final String ADMIN_OPERATION_NOT_ALLOWED = "警告:请不要随意操作客户数据!";
}

View File

@ -0,0 +1,8 @@
package com.fuyuanshen.equipment.constants;
public class RedisConstants {
public static final String APP_FORGOT_PASSWORD_SMS_TOKEN = "app_sms_forgotPassword:";
public static final String APP_REGISTER_SMS_TOKEN = "app_sms_register:";
}

View File

@ -0,0 +1,14 @@
package com.fuyuanshen.equipment.constants;
/**
* @author: 默苍璃
* @date: 2025-06-0609:42
*/
public class RoleConstants {
/**
* 添加客户默认绑定角色
*/
public static final String ROLE_CUSTOMER = "普通客户";
}