From 7c5232e71ba6ccf1bfe2677b19245002942a59b0 Mon Sep 17 00:00:00 2001 From: huang <1724659546@qq.com> Date: Thu, 30 Oct 2025 16:11:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BB=BB=E5=8A=A11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.example.yml | 2 +- config.yml | 2 +- openspec/changes/refactor-migrate-gin-to-echo/tasks.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.example.yml b/config.example.yml index 1a74a77..6641bac 100644 --- a/config.example.yml +++ b/config.example.yml @@ -7,7 +7,7 @@ app: # 服务器配置 server: port: 8080 # 服务器监听端口 - mode: "debug" # 运行模式: debug, release, test + mode: "debug" # 服务运行模式: debug, release, test # 日志配置 log: diff --git a/config.yml b/config.yml index bf282ac..56cbeeb 100644 --- a/config.yml +++ b/config.yml @@ -8,7 +8,7 @@ app: # HTTP 服务配置 server: port: 8086 - mode: "release" # Gin 运行模式: "debug", "release", "test" + mode: "release" # 服务运行模式: "debug", "release", "test" # 日志配置 log: diff --git a/openspec/changes/refactor-migrate-gin-to-echo/tasks.md b/openspec/changes/refactor-migrate-gin-to-echo/tasks.md index 4c7a7d6..3924a5a 100644 --- a/openspec/changes/refactor-migrate-gin-to-echo/tasks.md +++ b/openspec/changes/refactor-migrate-gin-to-echo/tasks.md @@ -1,8 +1,8 @@ ## 任务清单:Gin 到 Echo 迁移 -- [ ] **1. 配置文件 (无代码依赖)** - - [ ] 修改 `config.yml` 中 `mode` 配置项的注释,将 "Gin 运行模式" 改为 "服务运行模式"。 - - [ ] 修改 `config.example.yml` 中 `mode` 配置项的注释,保持与 `config.yml` 一致。 +- [x] **1. 配置文件 (无代码依赖)** + - [x] 修改 `config.yml` 中 `mode` 配置项的注释,将 "Gin 运行模式" 改为 "服务运行模式"。 + - [x] 修改 `config.example.yml` 中 `mode` 配置项的注释,保持与 `config.yml` 一致。 - [ ] **2. 控制器辅助函数 (最基础的依赖)** - [ ] **`internal/app/controller/response.go`**