完成任务1
This commit is contained in:
@@ -7,7 +7,7 @@ app:
|
|||||||
# 服务器配置
|
# 服务器配置
|
||||||
server:
|
server:
|
||||||
port: 8080 # 服务器监听端口
|
port: 8080 # 服务器监听端口
|
||||||
mode: "debug" # 运行模式: debug, release, test
|
mode: "debug" # 服务运行模式: debug, release, test
|
||||||
|
|
||||||
# 日志配置
|
# 日志配置
|
||||||
log:
|
log:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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`**
|
||||||
|
|||||||
Reference in New Issue
Block a user