M8-T16: add thermal meter cost APIs
This commit is contained in:
@@ -891,7 +891,7 @@ T01~T06 先把现有 DSMR 安全迁到统一 source/binding;T07~T11 再接
|
||||
|
||||
### M8-T16 — Thermal Prices / Costs / Summary / Recompute API
|
||||
|
||||
- **Status**: `todo`
|
||||
- **Status**: `done`
|
||||
- **Depends**: M8-T15
|
||||
- **Context**: 对外提供 scope-aware 价格和新的热力账本,不破坏既有 electricity 路由响应。
|
||||
|
||||
@@ -900,6 +900,7 @@ T01~T06 先把现有 DSMR 安全迁到统一 source/binding;T07~T11 再接
|
||||
- `create app/api/routes/api/meter_costs.py`
|
||||
- `modify app/schemas/energy.py`
|
||||
- `modify app/api/routes/api/energy.py`
|
||||
- `modify app/services/meter_cost.py`
|
||||
- `modify app/main.py`
|
||||
- `create tests/test_meter_cost_api.py`
|
||||
- `modify tests/test_api_energy.py`
|
||||
|
||||
Reference in New Issue
Block a user