This commit is contained in:
2026-08-27 11:09:51 +08:00
parent 4612181ab0
commit c1b136c3d6
4 changed files with 50 additions and 14 deletions
@@ -773,7 +773,7 @@ paths:
properties:
code: {type: string}
message: {type: string}
data: {$ref: '#/components/schemas/WeightPalletSnapshotPage'}
data: {$ref: '#/components/schemas/WeightPalletOptionPage'}
'403': {description: 无入库测量查看或称重编辑权限}
/api/platform/v1/first-leg/inbounds/{inboundId}/weight-results:
post:
@@ -1297,7 +1297,7 @@ components:
palletType: {type: string}
capacityCbm: {type: number, format: double, minimum: 0.0001}
tareWeightKg: {type: number, format: double, minimum: 0, multipleOf: 0.001}
WeightPalletSnapshotPage:
WeightPalletOptionPage:
type: object
required: [records, page, size, total, pages]
properties:
@@ -30,7 +30,7 @@ class PlatformInboundMeasurementControllerContractTest {
.contains("name: keyword")
.contains("maximum: 100")
.contains("maxItems: 100")
.contains("data: {$ref: '#/components/schemas/WeightPalletSnapshotPage'}");
.contains("data: {$ref: '#/components/schemas/WeightPalletOptionPage'}");
}
@Test