yaosutu 和 Claude Opus 4.7
ed27f2dc74
changelog(mp): /mp/order/{orderId}/insurance 接口契约梳理 — 入参+出参+调用时机+边界行为
...
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-23 17:33:34 +08:00
yaosutu 和 Claude Opus 4.7
ec974a27f3
fix(changelog/mp): 合同强类型 VO changelog 修正 resend-sms 入参/返回描述
...
- 返回类型 Result<Void> → Result<Boolean>
- 入参说明: 前端不需要传 body, BFF 自己从 token 取 userId 包成 MpContractResendSmsReqVO 透传下游
参照实现: hl-mp-service MpContractController#resendContractSms (PR #1314 )
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-23 17:02:25 +08:00
yaosutu
a1467cbbea
docs(changelog): 04-23 mp 批次标题/影响面显式标注「微信小程序」端(7 篇)
2026-04-23 16:46:18 +08:00
yaosutu 和 Claude Opus 4.7
bc43b65dc1
changelog(mp): 订单/行程 5 个聚合接口调用时机梳理 — tab-state 路由决策 + dashboard/pre-trip/today/travel-memory 契约对照
...
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-23 16:45:27 +08:00
yaosutu
17648b8961
changelog(mp): 04-23 下午批次 7 篇 — 合同强类型 VO / 退款 ratio / balance 统一 / 头像 / groupBatchId / 小童保留 / 行前清单拆分
...
- #1314 mp-contract: Map → MpContractVO / MpContractDetailVO 强类型化
- #1313 mp-refund preview refundRatio 恒 0 bug 修复
- #1306 mp-order balanceAmount 计算口径统一(FULL 也返回, 公式含 paid)
- #1309 mp-order guide/photographer avatarUrl 快照补齐(新订单生效)
- #1300 mp-order detail 新增 groupBatchId(GROUP 才有值)
- #1298 mp-group order youngChildCount 保留不再强制清零
- #1289 mp-pre-trip checklist 6→7 项 + DEPARTURE_INFO + WARNING 状态
2026-04-23 16:43:36 +08:00
yaosutu
3894e88ba9
docs(changelog): 补录 order-v2 接口变更说明(04-17 订单详情重构/04-20 出行人·物资清单·assignment/04-21 酒店 dayNumber) 7 篇
2026-04-23 16:35:12 +08:00
yaosutu
a851a89fc9
changelog(admin): 订单交通信息(接送站) 5 个 CRUD + 飞常准查询 7 个梳理
...
修 PR #1285 的 404 问题后,把管理后台交通信息这块接口契约完整梳理一遍,给前端迁移指南:
- 订单交通批次 5 个 CRUD (/admin/order/{orderId}/transport 或 /arrival,两个前缀别名):
查全量 / 新增 / 全量替换 / 修改 / 删除
- 飞常准查询 7 个 (/admin/transport/flight/* + /train/*):
航班号/机场/城市 + 车次/站点/城市
- 重点标出前端之前用的 v1 遗留契约(legType/departureStation/travelDate)与新契约的字段对照
- 补 FlightVO/TrainVO 完整字段表 + 三种交通方式的请求示例
- 推荐 UX: 航班号输入后自动调飞常准回填时间站点,避免用户手填时分秒
2026-04-23 15:15:16 +08:00
yaosutu
c06ba0bfcf
changelog(mp): 修订到达信息辅助接口字段表(非常准航班/火车)
...
- 补全 /mp/transport/flight 3 个查询接口(by-airport/by-city)
- 补全 /mp/transport/train 4 个查询接口(by-station/by-city/by-train-no-stations)
- 修正字段名:scheduledDepartTime/flightStatus → planDepartTime/status
- 按 MpFlightInfoVO / MpTrainInfoVO 实际字段列完整(22+14 个)
- 标注哪些字段仅在特定查询下返回(stops / departStatus)
- 补边界行为(空结果/上游异常/日期校验)
2026-04-22 11:18:30 +08:00
yaosutu 和 Claude Opus 4.7
eb70d0f930
revert(resource): 撤回 hotel WiFi 字段 changelog
...
仅数据库加字段 + 管理端 CRUD 接口扩展,小程序侧 Feign 未接通、todayHotel.wifi 仍为 null,
暂无需推送给小程序前端同事。等 Feign 接通后与 MP 下游变更一起重新发布。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-22 09:37:20 +08:00
yaosutu 和 Claude Opus 4.7
8ad5d0638d
changelog(mp): 微信小程序 · 按资源反查攻略接口 by-resource
...
GET /mp/wiki/by-resource
根据资源类型 + ID 反查已关联的已发布攻略文章列表,用于行程中景点/活动
节点的"攻略"按钮。支持 SCENIC/ACTIVITY/HOTEL/RESTAURANT/PRODUCT。
对应原型 7wZKh.s2card。
PR #1122 (Closes #1117 )
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-21 21:55:04 +08:00
yaosutu
75b2033fa3
changelog(trip): 行程中当前行程页聚合 3 连 (PR #1123/#1124/#1125)
...
- order-v2: TripDetailVO itineraryDays/dailyItinerary/hotelArrangements 强类型化 (#1119/#1123)
- mp+order-v2: today-dashboard 聚合扩展 DAY 导航/时间线/今晚住宿/明日预告 + 领队车牌 (#1120/#1124)
- resource: Hotel 表新增 WiFi SSID/密码字段 (#1121/#1125)
2026-04-21 20:46:19 +08:00
yaosutu 和 Claude Opus 4.7
229561624b
changelog(mp): 微信小程序 · 行程 Tab 路由决策接口 tab-state
...
GET /mp/trip/tab-state
一次返回前端应渲染哪个 Tab 页(IN_PROGRESS/BEFORE_START/RETURNING/NEW)
+ orderId + summary。替代之前 3 次接口决策。
对应原型:ew2Kk 行程前 / sGONt 行程中 / wwWKT 回头客 / eYDt9 空态。
PENDING_PAY 订单不计入 Tab 判定。
PR #1116 (Closes #1115 )
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-21 18:51:53 +08:00
yaosutu 和 Claude Opus 4.7
98bb0e4b5d
changelog(mp): 微信小程序 · 我的旅行回忆 travel-memory(含评分字段合并版)
...
GET /mp/order/travel-memory
返回 MpTravelMemoryVO 完整字段(含 rating/reviewId),小程序单接口获取
订单+评分数据。对应原型 wwWKT 行程 Tab·回头客卡片墙。
PR #1004 (Closes #1002 ) · PR #1014 (Closes #1011 )
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-21 17:31:10 +08:00
yaosutu
3268374447
Revert "changelog(order-v2): C 端我的旅行回忆 travel-memory 接口 + 评分字段"
...
This reverts commit c9cd0ca886 .
2026-04-21 17:29:58 +08:00
yaosutu 和 Claude Opus 4.7
c9cd0ca886
changelog(order-v2): C 端我的旅行回忆 travel-memory 接口 + 评分字段
...
- GET /mp/order/travel-memory 接口首发 (PR #1004 / Issue #1002 )
- MpTravelMemoryVO 补 rating + reviewId 字段 (PR #1014 / Issue #1011 )
- 对应原型 wwWKT 行程 Tab·回头客
本地已有两份完整 changelog 但此前未推送,本次一并推送远程。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-21 17:19:35 +08:00
yaosutu 和 Claude Opus 4.7
7e12f0e9ce
changelog(mp): 微信小程序 · 订单出行人 CRUD 接口(4 个)
...
- GET /mp/order/{orderId}/traveler
- POST /mp/order/{orderId}/traveler
- PUT /mp/order/{orderId}/traveler/{travelerId}
- DELETE /mp/order/{orderId}/traveler/{travelerId}
对应原型 L4xYN 乘坐人员勾选列表、Bf9jC 添加人员弹窗。
身份证 idCardNo 后端自动解析 birthday + gender。
PR #1022 (Closes #1020 )
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-21 16:38:19 +08:00
yaosutu 和 Claude Opus 4.7
34621d845b
changelog(mp): 微信小程序 · 订单行李推荐接口
...
GET /mp/order/{orderId}/supplies-checklist
按分类分组返回订单备品清单 + 装备建议富文本,对应原型 zgNiD 行李推荐弹窗。
PR #1042 (Closes #1041 )
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-21 16:34:43 +08:00
yaosutu 和 Claude Opus 4.7
b5941e4f34
changelog(mp): 微信小程序 · 订单到达/离开信息接口(5 个 CRUD)
...
- GET /mp/order/{orderId}/arrival
- POST /mp/order/{orderId}/arrival
- POST /mp/order/{orderId}/arrival/batch
- PUT /mp/order/{orderId}/arrival/plan/{planId}
- DELETE /mp/order/{orderId}/arrival/plan/{planId}
PR #1000 (Closes #998 )
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-21 16:30:50 +08:00
yaosutu
053a5bdd64
fix(order-v2): 财务 Tab 优惠/附加费 DTO 字段对齐契约 (#1100/#1101)
...
- DiscountRequest: name→discountName, amount→discountAmount
- SurchargeRequest: name→surchargeName, amount→surchargeAmount
- 清除死字段 discountType/remark
- 金额新增 @DecimalMin(0.01) 正数校验
2026-04-21 16:20:37 +08:00
yaosutu 和 Claude Opus 4.7
f4f767863d
changelog(mp): 微信小程序 · 行程前出发准备页 + 订单详情页 聚合接口 V1+V3
...
- 新接口 GET /mp/trip/{orderId}/pre-trip-dashboard (V1)
- 新接口 GET /mp/order/{orderId}/dashboard (V3)
- PR #1074/#1087/#1090/#1078/#1096 合集交付
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-21 16:19:13 +08:00
yaosutu
68c8d61f39
changelog(order-v2): 管理端行程安排接口变更(聚合接口新增 + vehicleCount 下线)
...
- 新增 GET /admin/order/{orderId}/itinerary/summary 聚合接口(PR #1064)
- 修复 GET /admin/order/{orderId} 的 hotelAssignmentDetails[].assignmentDate 现算(PR #1064)
- PUT /admin/order/{orderId}/vehicle-assignment 请求 body 删除 vehicleCount(PR #1054)
2026-04-21 15:38:48 +08:00
yaosutu 和 Claude Opus 4.6
4bbebf273b
changelog: C端订单详情页重构接口变更(详情返回值变更+6个弹窗接口)
...
详情接口返回值从OrderDetailVO改为MpOrderDetailVO,
新增serviceItems/priceBreakdown/refundProgress/tripProgress等字段,
新增6个弹窗接口(tickets/hotels/meals/vehicle/guide/photographer)。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-20 18:32:08 +08:00
yaosutu 和 Claude Opus 4.6
1a99420d5d
feat(order-v2): 创建订单/报价预览新增必填参数 tierSeq(档位序号)
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-17 14:14:35 +08:00
yaosutu
666ce6030a
feat: 新增商品选择列表接口 simple-list(订单创建用)
2026-04-14 16:07:18 +08:00