mirror of https://gitee.com/stylefeng/roses
【8.1.7】更新默认文件存储位置
parent
0352b0c006
commit
3ce6f4cbdf
|
@ -37,7 +37,7 @@ public class DefaultStrategyImpl implements ConfigInitStrategyApi {
|
|||
configInitItems.add(new ConfigInitItem("auth认证用的jwt秘钥", "SYS_AUTH_JWT_SECRET", RandomUtil.randomString(30), "用于校验登录token,已随机生成一个30位密钥,请放心使用"));
|
||||
configInitItems.add(new ConfigInitItem("Druid控制台账号", "SYS_DRUID_ACCOUNT", "admin", "Druid控制台账号"));
|
||||
configInitItems.add(new ConfigInitItem("Druid控制台账号密码", "SYS_DRUID_PASSWORD", RandomUtil.randomString(20), "Druid控制台账号密码,已随机生成一个20位密钥,请放心使用"));
|
||||
configInitItems.add(new ConfigInitItem("Linux本地文件保存路径", "SYS_LOCAL_FILE_SAVE_PATH_LINUX", "/tmp/tempFilePath", "本地文件存储的路径,上线请注意别使用/tmp目录,如果没有用本地文件存储,可忽略此配置"));
|
||||
configInitItems.add(new ConfigInitItem("Linux本地文件保存路径", "SYS_LOCAL_FILE_SAVE_PATH_LINUX", "/opt/gunsFilePath", "本地文件存储的路径,上线请注意别使用/tmp目录,如果没有用本地文件存储,可忽略此配置"));
|
||||
configInitItems.add(new ConfigInitItem("Windows本地文件保存路径", "SYS_LOCAL_FILE_SAVE_PATH_WINDOWS", "D:\\tempFilePath", "本地文件存储的路径,如果没有用本地文件存储,可忽略此配置"));
|
||||
configInitItems.add(new ConfigInitItem("session过期时间", "SYS_SESSION_EXPIRED_SECONDS", "3600", "单位:秒,session的过期时间,这个时间段内不操作会自动踢下线"));
|
||||
configInitItems.add(new ConfigInitItem("账号单端登录限制", "SYS_SINGLE_ACCOUNT_LOGIN_FLAG", "false", "如果开启,则同一个账号只能一个地方登录"));
|
||||
|
|
|
@ -38,7 +38,7 @@ public class LocalFileProperties {
|
|||
/**
|
||||
* 本地文件存储位置(linux)
|
||||
*/
|
||||
private String localFileSavePathLinux = "/tmp/tempFilePath";
|
||||
private String localFileSavePathLinux = "/opt/gunsFilePath";
|
||||
|
||||
/**
|
||||
* 本地文件存储位置(windows)
|
||||
|
|
Loading…
Reference in New Issue