yml2213
|
aa052d420a
|
fix(dlc): 更新暗影哥特、黑色上衣与浪漫天命的商品编码
- 同步上游 DLC (聚鑫源) 最新 GoodID 映射:
- suit_shadow_gothic: 6a13aa55e3bce430aca29b01
- top_black_elite_trainer: 6a13aaeae3bce430aca29b03
- suit_romantic_destiny: 6a13ab21e3bce430aca29b04
- 更新 delivery_helpers 缺省兜底映射表与 sync_product_images 常量
- 更新 provider_test 单元测试断言与 docs/商品目录.md 文档
- 验证方式:go test 单元测试通过,go vet 校验通过
|
2026-10-10 18:14:46 +08:00 |
|
yml2213
|
24fa6a97a0
|
refactor(delivery): 按职责拆分 delivery.go(1162 → 最大 249 行)
纯文件级移动,无行为变更:
- delivery.go 常量、DeliveryService 结构、构造与依赖注入
- delivery_types.go 对外 DTO 与 deliveryHTTPError
- delivery_provider.go 渠道取消/同步与 result_data 维护
- delivery_query.go 订单查询与发货状态构建
- delivery_bind.go 绑定与绑定结果查询
- delivery_submit.go 提交发货与提交阶段状态机
- deliveryGoodID 并入 delivery_helpers.go,链接管理并入 delivery_link.go
校验:拆分前后 55 个 func/type/const 声明完全一致(无缺失、无多出、无重复)。
|
2026-10-06 19:43:05 +08:00 |
|
yml2213
|
2264851d5d
|
拆分 service 与前端大文件,修复 CORS 配置与格式问题
- 后端 internal/service 按职责拆分:
fulfillment.go(1397→527)拆出 wallet/timeout/data/order/query/dashboard/shipnotify
delivery.go(1124→801)拆出 upstream/link/state/helpers
merchant.go(855→251)拆出 member/product/api_client/catalog/helpers
- 前端 MerchantCenter.tsx(1327→606)拆出 merchantCenterTabs/merchantCenterUtils
- docker-compose backend 透传 CORS_ALLOWED_ORIGINS
- CORS 白名单实现(config/router/README/.env.example 配套)
- 修复 gofmt 与文件尾部多余空行
|
2026-08-05 13:32:11 +08:00 |
|