feat(server): deliver major backend expansion with v2 APIs, AI integration, and realtime infrastructure (#36)

This commit is contained in:
小袁
2026-04-29 18:49:54 +08:00
committed by GitHub
parent f0fa33cd67
commit d7ae8564c1
148 changed files with 5903 additions and 770 deletions
+31 -5
View File
@@ -1,15 +1,41 @@
# https://goframe.org/docs/web/server-config-file-template
server:
address: ":12800"
# openapiPath: "/api.json"
address: ":12800"
openapiPath: "/api.json"
swaggerPath: "/swagger"
# https://goframe.org/docs/core/glog-config
logger:
level : "all"
stdout: true
path: "./logs" # 日志目录相对或绝对路径
file: "{Y-m-d}.log" # 按天滚动
level: "all" # 日志级别all | debug | info | warning | error
stdout: true # 是否同时输出到控制台
rotateExpire: "7d" # 日志保留时间
rotateBackup: 10 # 最多保留文件数
rotateSize: "50M" # 单文件最大大小
# https://goframe.org/docs/core/gdb-config-file
database:
default:
link: "sqlite::@file(/stackChan.sqlite)"
link: ""
jwt:
secret: ""
admin:
users:
- username: ""
password: ""
rsa:
server:
public:
private:
client:
public:
private:
xiaozhi:
secret_key:
generate_license_token: