将数据库修改到本地配置文件,修复工单没创建成功依旧会写入数据库的问题

This commit is contained in:
Yakumo Hokori
2026-02-24 16:00:43 +08:00
parent 5e03e76177
commit 1b36901a70
2048 changed files with 41630 additions and 40 deletions

6
config.example.toml Normal file
View File

@@ -0,0 +1,6 @@
# tms_tools 配置文件示例
# 将此文件复制到 ~/.config/tms_tools/config.toml 并进行修改
# 数据库连接字符串
# 格式: postgres://用户名:密码@主机:端口/数据库名
database_url = "postgres://tmstools:521707@honulla.com:5432/tmstools"