api-inventory.md 5.91 KB

AI 与工作日报分包 API 清单

边界

本次只迁移调用位置,不改变 method、payload、网关、签名排除字段、失败提示开关或响应消费方式。基线由 tests/subpackage-split/api-contracts.test.mjs 直接监听现有 facade 的 request.post 完整参数。

在线来源为 develop 环境的 dj-car-boutique-work-wechat 配置中心。已注册来源 axios / rop-dj-car-boutique 于 2026-09-04 在线读取成功;不带来源约束时,候选 axios2 / rop-dj-smartcarlife 的内网 Swagger 当前不可达,因此每个已确认方法均使用已注册 axios 来源执行精确匹配。

非 ROP AI transport

这些调用没有 dotted method,原样使用 AI 域名与路径,靠转发契约测试锁定。

facade path domain failTips
sparring /router/sparring/1.0.0 AI false
objectionSparring /router/objection/sparring/1.0.0 AI false
inspiration /router/inspiration/1.0.0 AI 默认值
objectionInspiration /router/objection/inspiration/1.0.0 AI 默认值
enhancement /router/enhancement/1.0.0 AI false
objectionEnhancement /router/objection/enhancement/1.0.0 AI false
getSensitive /router/is/sensitive/1.0.0 AI false
getPhrases /router/similar/phrases/1.0.0 AI false
getVoice /router/get/voice/to/text/1.0.0 AI false
getVoiceConfig /router/get/voice/config/1.0.0 AI false

AI ROP methods

facade method 当前请求网关 develop Swagger 迁移处理
aiApi.getSparringPage dj.api.carboutique.ai.sparring.staff.record.page /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移
aiApi.setSparringVerify dj.api.carboutique.ai.sparring.verify /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移
aiApi.getReportDetail dj.api.carboutique.ai.sparring.report.detail /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移
aiApi.getToken dj.api.smartcarlife.recepiton.customer.oss.getToken 默认 found, fresh 原样迁移
carEquityApi.getInspectionDetail dj.api.smartcarlife.app.inspection.conversation.check.detail 默认 found, fresh 原样迁移
carEquityApi.getSparringPage dj.api.carboutique.ai.sparring.task.page /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移
carEquityApi.getSparringDetail dj.api.carboutique.ai.sparring.task.staff.detail.page /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移
carEquityApi.getSparringResult dj.api.carboutique.ai.sparring.detail.check.result /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移
carEquityApi.sparringCommit dj.api.carboutique.ai.sparring.detail.commit /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移
carEquityApi.behaviorSave dj.api.carboutique.ai.sparring.staff.behavior.save /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移
carEquityApi.objectionPage dj.api.carboutique.ai.sparring.objection.page /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移
carEquityApi.sparringRole dj.api.carboutique.ai.sparring.role.info.page /rop-dj-pairexc/router found, fresh method 已收录;网关仍保持不变
carEquityApi.sparringRrain dj.api.carboutique.ai.sparring.start.train /rop-dj-pairexc/router axios 未收录 一次性覆盖:仅按现有调用原样迁移

/rop-dj-pairexc/swagger-rop/api-docs 经当前 develop 公共域名读取返回 HTTP 502,配置中心也未登记该 ROP source。因此上述 10 个方法属于“Swagger 尚未收录且目标 Swagger 不可验证”。用户于 2026-09-04 明确允许本次一次性契约覆盖:只能复制基线测试锁定的现有 method、payload identity、/rop-dj-pairexc/router 和 transport 参数;不得借此新增字段、改网关或改变响应处理。迁移后仍标注 Swagger 未验证。

工作日报 ROP methods

下列 16 项在 axios / rop-dj-car-boutique 的最新 develop Swagger 中均为 found、fresh=true、relevantMethodChanged=false。

facade method
staffDailyReportSave dj.api.smartcarlife.staff.daily.report.save
staffDailyReportDetail dj.api.smartcarlife.staff.daily.report.detail
staffDailyReportDetailWeeklyList dj.api.smartcarlife.staff.daily.report.weekly.list
staffDailyReportApprove dj.api.smartcarlife.staff.daily.report.approve
querySceneRefByShop dj.api.scenemerchantref.querySceneRefByShop
staffDailyReportMerchantCarBand dj.api.smartcarlife.staff.daily.report.car.brand
getDateRecord dj.api.mindworkplate.app.daily.report.mySubmittedDateRecord
getRecordDetail dj.api.mindworkplate.app.daily.report.myRecordDetail
getWeeklyRecordDetail dj.api.carboutique.assign.month.find.staff.weekly.report.submit
getMonthCalWeek dj.api.carboutique.assign.month.cal.week
getMonthlyRecordDetail dj.api.carboutique.assign.year.find.staff.monthly.report.submit
saveTempReport dj.api.mindworkplate.app.daily.report.save
getStaffList dj.api.mindworkplate.app.daily.report.staffBaseInfo.page
dailyReportCheck dj.api.smartcarlife.staff.daily.report.data.check
userStat dj.api.smartcarlife.user.stat
outputValueStatistics dj.api.smartcarlife.vehicle.damage.upgrade.quotation.outputValueStatistics

staffDailyReportMerchantValid 留在 tabWorkOrder/api.js,因为迁移范围外页面和主包弹窗队列仍消费它。