新增待办信息

This commit is contained in:
2026-01-01 12:48:39 +08:00
parent 4ef6bc5b68
commit f7c7b8d6dc
4 changed files with 41 additions and 26 deletions

View File

@@ -136,7 +136,6 @@ public class IpUtils {
public static String getServerHttp() { public static String getServerHttp() {
return "http://" + getLocalIp() + ":" + Global.getProperty("server.port") + FileUtils.path("/" return "http://" + getLocalIp() + ":" + Global.getProperty("server.port") + FileUtils.path(Global.getProperty("server.servlet.context-path"));
+ Global.getProperty("server.servlet.context-path"));
} }
} }

View File

@@ -1,15 +1,32 @@
#======================================#
#========== Project settings ==========#
#======================================#
# 使用环境配置,只需 JVM 参数里加:-Dspring.profiles.active=prod # 产品或项目名称、软件开发公司名称
productName: My-Worker
companyName: mini
#======================================#
#========== Server settings ===========#
#======================================#
server: server:
port: 8980 port: 8980
servlet: servlet:
context-path: /js context-path: ~
vue:
ctxPath:
replaceText: /vuePath
vuePath: /worker
shiro:
defaultPath: ${vuePath}/login
#======================================#
#========= Database settings ==========#
#======================================#
# 数据库连接 # 数据库连接
jdbc: jdbc:
# Mysql 数据库配置 # Mysql 数据库配置
type: mysql type: mysql
driver: com.mysql.cj.jdbc.Driver driver: com.mysql.cj.jdbc.Driver
@@ -20,7 +37,6 @@ jdbc:
# 数据库连接池配置 # 数据库连接池配置
pool: pool:
# 初始化连接数 # 初始化连接数
init: 1 init: 1
# 最小连接数 # 最小连接数
@@ -39,3 +55,13 @@ mybatis:
mapper: mapper:
refresh: refresh:
enabled: false enabled: false
#======================================#
#======== FileUpload settings =========#
#======================================#
# 文件上传
file:
enabled: true
baseDir: /ogsapp/files
maxFileSize: '500*1024*1024'

View File

@@ -4,7 +4,7 @@
# 产品或项目名称、软件开发公司名称 # 产品或项目名称、软件开发公司名称
productName: My-Worker productName: My-Worker
companyName: me companyName: mini
# 产品版本、版权年份 # 产品版本、版权年份
productVersion: V5.14 productVersion: V5.14
@@ -23,7 +23,7 @@ apiMode: true
server: server:
port: 8980 port: 8980
servlet: servlet:
context-path: ~ context-path: /js
register-default-servlet: false register-default-servlet: false
tomcat: tomcat:
uri-encoding: UTF-8 uri-encoding: UTF-8
@@ -49,11 +49,6 @@ server:
# 当 Nginx 为 httpstomcat 为 http 时,设置该选项为 true # 当 Nginx 为 httpstomcat 为 http 时,设置该选项为 true
schemeHttps: false schemeHttps: false
vue:
ctxPath:
replaceText: /vuePath
vuePath: /worker
#======================================# #======================================#
#========= Database settings ==========# #========= Database settings ==========#
#======================================# #======================================#
@@ -411,15 +406,13 @@ state:
# Shiro 相关 # Shiro 相关
shiro: shiro:
defaultPath: ${vuePath}/login
# 主页路径 # 主页路径
# defaultPath: ${shiro.loginUrl} defaultPath: ${shiro.loginUrl}
#
# # 登录相关设置 # 登录相关设置
# loginUrl: ${adminPath}/login loginUrl: ${adminPath}/login
# logoutUrl: ${shiro.loginUrl} logoutUrl: ${shiro.loginUrl}
# successUrl: ${adminPath}/index successUrl: ${adminPath}/index
# # Apereo CAS 相关配置(标准版) # # Apereo CAS 相关配置(标准版)
# casServerUrl: http://127.0.0.1:8981/cas # casServerUrl: http://127.0.0.1:8981/cas

View File

@@ -41,9 +41,6 @@
getShowLayoutFooter, getShowLayoutFooter,
prefixCls, prefixCls,
t, t,
DOC_URL,
GITHUB_URL,
SITE_URL,
openWindow, openWindow,
footerRef, footerRef,
}; };