|
@@ -41,7 +41,13 @@ public class WeighbridgeController {
|
|
|
*/
|
|
*/
|
|
|
@Operation(summary = "车牌验证", description = "用于验证车牌是否合法,允许上磅")
|
|
@Operation(summary = "车牌验证", description = "用于验证车牌是否合法,允许上磅")
|
|
|
@PostMapping("/validateLicensePlate")
|
|
@PostMapping("/validateLicensePlate")
|
|
|
- public LicensePlateValidateResponse validateLicensePlate(@RequestBody LicensePlateValidateRequest request) {
|
|
|
|
|
|
|
+ public LicensePlateValidateResponse validateLicensePlate(
|
|
|
|
|
+ @Parameter(description = "车牌号") @RequestParam("licensePlate") String licensePlate,
|
|
|
|
|
+ @Parameter(description = "厂商来源标识") @RequestParam("uuid") String uuid
|
|
|
|
|
+ ) {
|
|
|
|
|
+ LicensePlateValidateRequest request = new LicensePlateValidateRequest();
|
|
|
|
|
+ request.setLicensePlate(licensePlate);
|
|
|
|
|
+ request.setUuid(uuid);
|
|
|
return weighbridgeRecordManage.handleValidateLicensePlate(request);
|
|
return weighbridgeRecordManage.handleValidateLicensePlate(request);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|