|
@@ -30,7 +30,7 @@ public class WeighbridgeController {
|
|
|
*/
|
|
*/
|
|
|
@Operation(summary = "地磅过磅数据上报", description = "接收地磅设备上报的过磅数据和图片")
|
|
@Operation(summary = "地磅过磅数据上报", description = "接收地磅设备上报的过磅数据和图片")
|
|
|
@PostMapping("/weighBridgePush")
|
|
@PostMapping("/weighBridgePush")
|
|
|
- public LicensePlateValidateResponse weighBridgePush(WeighbridgePushRequest request) {
|
|
|
|
|
|
|
+ public LicensePlateValidateResponse weighBridgePush(@RequestBody WeighbridgePushRequest request) {
|
|
|
// 构建请求对象
|
|
// 构建请求对象
|
|
|
// 调用业务层处理
|
|
// 调用业务层处理
|
|
|
return weighbridgeRecordManage.handleWeighbridgePush(request);
|
|
return weighbridgeRecordManage.handleWeighbridgePush(request);
|
|
@@ -41,7 +41,7 @@ public class WeighbridgeController {
|
|
|
*/
|
|
*/
|
|
|
@Operation(summary = "车牌验证", description = "用于验证车牌是否合法,允许上磅")
|
|
@Operation(summary = "车牌验证", description = "用于验证车牌是否合法,允许上磅")
|
|
|
@PostMapping("/validateLicensePlate")
|
|
@PostMapping("/validateLicensePlate")
|
|
|
- public LicensePlateValidateResponse validateLicensePlate(LicensePlateValidateRequest request) {
|
|
|
|
|
|
|
+ public LicensePlateValidateResponse validateLicensePlate(@RequestBody LicensePlateValidateRequest request) {
|
|
|
return weighbridgeRecordManage.handleValidateLicensePlate(request);
|
|
return weighbridgeRecordManage.handleValidateLicensePlate(request);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|