新增待办信息

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() {
return "http://" + getLocalIp() + ":" + Global.getProperty("server.port") + FileUtils.path("/"
+ Global.getProperty("server.servlet.context-path"));
return "http://" + getLocalIp() + ":" + Global.getProperty("server.port") + FileUtils.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:
port: 8980
servlet:
context-path: /js
context-path: ~
vue:
ctxPath:
replaceText: /vuePath
vuePath: /worker
shiro:
defaultPath: ${vuePath}/login
#======================================#
#========= Database settings ==========#
#======================================#
# 数据库连接
jdbc:
jdbc:
# Mysql 数据库配置
type: mysql
driver: com.mysql.cj.jdbc.Driver
@@ -20,7 +37,6 @@ jdbc:
# 数据库连接池配置
pool:
# 初始化连接数
init: 1
# 最小连接数
@@ -39,3 +55,13 @@ mybatis:
mapper:
refresh:
enabled: false
#======================================#
#======== FileUpload settings =========#
#======================================#
# 文件上传
file:
enabled: true
baseDir: /ogsapp/files
maxFileSize: '500*1024*1024'

View File

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