完成任务1

This commit is contained in:
2025-10-30 16:11:59 +08:00
parent 2c9b4777ae
commit 7c5232e71b
3 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ app:
# 服务器配置 # 服务器配置
server: server:
port: 8080 # 服务器监听端口 port: 8080 # 服务器监听端口
mode: "debug" # 运行模式: debug, release, test mode: "debug" # 服务运行模式: debug, release, test
# 日志配置 # 日志配置
log: log:

View File

@@ -8,7 +8,7 @@ app:
# HTTP 服务配置 # HTTP 服务配置
server: server:
port: 8086 port: 8086
mode: "release" # Gin 运行模式: "debug", "release", "test" mode: "release" # 服务运行模式: "debug", "release", "test"
# 日志配置 # 日志配置
log: log:

View File

@@ -1,8 +1,8 @@
## 任务清单Gin 到 Echo 迁移 ## 任务清单Gin 到 Echo 迁移
- [ ] **1. 配置文件 (无代码依赖)** - [x] **1. 配置文件 (无代码依赖)**
- [ ] 修改 `config.yml``mode` 配置项的注释,将 "Gin 运行模式" 改为 "服务运行模式"。 - [x] 修改 `config.yml``mode` 配置项的注释,将 "Gin 运行模式" 改为 "服务运行模式"。
- [ ] 修改 `config.example.yml``mode` 配置项的注释,保持与 `config.yml` 一致。 - [x] 修改 `config.example.yml``mode` 配置项的注释,保持与 `config.yml` 一致。
- [ ] **2. 控制器辅助函数 (最基础的依赖)** - [ ] **2. 控制器辅助函数 (最基础的依赖)**
- [ ] **`internal/app/controller/response.go`** - [ ] **`internal/app/controller/response.go`**