kkfluous
|
d6c31dd2b6
|
fix: 实时监控累计总里程少算,G7S 数据源 total_km 为 NULL 时用业务库 vehicle_total_mileage 兜底
ci/woodpecker/push/woodpecker Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-15 10:22:19 +08:00 |
|
kkfluous
|
9c9d7a3805
|
feat: 全局客户名称脱敏(首尾保留+中间三个*)
ci/woodpecker/push/woodpecker Pipeline was successful
- 2-3字: 首字+*** (徐***)
- 4-6字: 首2字+***+末1字 (嘉兴***司)
- 7字+: 首4字+***+末2字 (嘉兴市乍***公司)
- 覆盖所有接口: monitoring, targets, vehicles, weekly-detail
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-02 20:23:24 +08:00 |
|
kkfluous
|
2575778293
|
feat: 后端用户认证和权限过滤
- 新增 auth 模块:jumpToken 代理交换、用户信息获取、JWT 签发
- 三级权限:full(所有权限/数智中心/BI-Leader)、department(BI-Leader-Dep)、personal
- 添加 managerId 到车辆数据模型,支持个人级别按 userId 精确过滤
- auth 中间件保护所有 /api/* 端点(跳过 /api/health 和 /api/auth/*)
- 所有路由集成 filterByPermission 权限过滤
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-02 15:35:29 +08:00 |
|
kkfluous
|
6dbd36dcd3
|
refactor: replace mileage monolith with modular route files
ci/woodpecker/push/woodpecker Pipeline was successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-02 13:35:58 +08:00 |
|
kkfluous
|
7ec422c13a
|
refactor: create targets route handler
|
2026-04-02 13:33:14 +08:00 |
|
kkfluous
|
890050ed55
|
refactor: create trend route handler
|
2026-04-02 13:33:05 +08:00 |
|
kkfluous
|
ac2a16e7b7
|
refactor: create monitoring route handler
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-02 13:32:32 +08:00 |
|
kkfluous
|
459b0400b4
|
refactor: extract monitoring cache module
|
2026-04-02 13:31:07 +08:00 |
|
kkfluous
|
1a169feaa6
|
refactor: extract vehicle-info query module
|
2026-04-02 13:30:19 +08:00 |
|
kkfluous
|
bc1e0ea32e
|
refactor: extract mileage shared types
|
2026-04-02 13:30:02 +08:00 |
|