From 59813e2dff0586aff3d881c8ced942dd61a04095 Mon Sep 17 00:00:00 2001 From: redhat <2292650292@qq.com> Date: Thu, 22 May 2025 11:45:28 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81sync=20directory=20structure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.yaml | 12 ++++++------ dao/redis/README.md | 1 + services/README.md | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 dao/redis/README.md create mode 100644 services/README.md diff --git a/config/config.yaml b/config/config.yaml index 5b96c67..aea681e 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -14,13 +14,13 @@ log: database: # sqlite只需要指定db_name即可 type: "sqlite" - db_name: "./data/sqlite/dash.db" # 如果是sqlite需要指定完整路径和文件名称 + db_name: "./data/sqlite/avcnet.db" # 如果是sqlite需要指定完整路径和文件名称 # 其他远程数据库需要指定下面的内容 - user: "" - password: "" - host: "" - port: 0 - max_conns: 0 + user: "root" + password: "password" + host: "192.168.177.1" + port: 3306 + max_conns: 200 # 使用令牌桶限流 rate: diff --git a/dao/redis/README.md b/dao/redis/README.md new file mode 100644 index 0000000..f2ce881 --- /dev/null +++ b/dao/redis/README.md @@ -0,0 +1 @@ +#zhanwei \ No newline at end of file diff --git a/services/README.md b/services/README.md new file mode 100644 index 0000000..f2ce881 --- /dev/null +++ b/services/README.md @@ -0,0 +1 @@ +#zhanwei \ No newline at end of file