This commit is contained in:
2026-08-13 17:24:40 +08:00
parent 885ff9dc9e
commit 6ad438e733
4 changed files with 14 additions and 3 deletions
@@ -574,8 +574,7 @@ paths:
expectedVersion: {type: integer, minimum: 0}
reason: {type: string, maxLength: 1000}
responses:
'200': {description: 成功或业务失败;成功 data 为 FeeSnapshotResponse,nextStatus=WAIT_SPLIT}
'409': {description: 审核已提交但自动编排尚未完成、版本冲突或费用/仓库门禁失败;不得据此推断 WAIT_SPLIT}
'200': {description: 成功或业务失败,按响应体 code 判断;成功 data 为 FeeSnapshotResponse 且 nextStatus=WAIT_SPLIT;失败可能表示审核已提交但自动编排尚未完成、版本冲突或费用/仓库门禁失败,不得据此推断 WAIT_SPLIT}
/api/platform/v1/inbounds/{inboundId}/measurements/reject:
post:
summary: 驳回测量
@@ -48,7 +48,8 @@ class InboundMeasurementReviewContractTest {
.contains("Idempotency-Key")
.contains("审核事务提交后服务端自动执行计费")
.contains("接口不会伪造 WAIT_SPLIT")
.contains("成功 data 为 FeeSnapshotResponse,nextStatus=WAIT_SPLIT")
.contains("成功 data 为 FeeSnapshotResponse")
.contains("nextStatus=WAIT_SPLIT")
.contains("name: inboundId")
.contains("schema: {type: string, pattern:")
.doesNotContain("待客户确认");