更新 docs/后端代码规范文档.md

This commit is contained in:
西街长安 2025-10-30 13:53:15 +08:00
parent 5e571f192b
commit 430d409e9e

View File

@ -67,3 +67,7 @@ public WeatherForecastController(IDemo demo)
```
3. 在 Controller 方法中使用 `_demo` 调用业务逻辑方法。
## 4. 模型类字段使用规范
### 4.1 类中状态相关字段例如Status返回值为sbyte。若类中有同名字段+后缀Enum则优先使用后者,StatusEnum。