sql: 更新角色菜单分配,禁用SMTP/OAUTH2类型选择

This commit is contained in:
TsMask
2025-08-14 15:12:05 +08:00
parent 991f22ae37
commit c7f4a5f3d1
5 changed files with 52 additions and 85 deletions

View File

@@ -3,7 +3,7 @@
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: ./log/restagent.log
file: C:/var/log/restagent.log
level: trace
duration: 24
count: 2
@@ -39,9 +39,9 @@ webServer:
- addr: :8443
schema: https
clientAuthType: 0
caFile: ./etc/certs/omc-ca.crt
certFile: ./etc/certs/omc-server.crt
keyFile: ./etc/certs/omc-server.key
caFile: ./restagent/etc/certs/omc-ca.crt
certFile: ./restagent/etc/certs/omc-server.crt
keyFile: ./restagent/etc/certs/omc-server.key
database:
type: mysql
@@ -200,8 +200,8 @@ staticFile:
# 默认资源dir目录需要预先创建
default:
prefix: "/static"
dir: "./static"
dir: "C:/usr/local/omc/static"
# 文件上传资源目录映射,与项目目录同级
upload:
prefix: "/upload"
dir: "./upload"
dir: "C:/usr/local/omc/upload"