Bläddra i källkod

车牌验证接口

donglang 4 månader sedan
förälder
incheckning
5ae0b9b61d

+ 1 - 1
iot-platform-manager/src/main/java/com/platform/api/controller/WeighbridgeController.java

@@ -60,7 +60,7 @@ public class WeighbridgeController {
     @PostMapping("/validateLicensePlate")
     public LicensePlateValidateResponse validateLicensePlate(@RequestParam("licensePlate") String licensePlate,
                                                              @RequestParam("weighbridgeCode") String weighbridgeCode,
-                                                             @RequestParam("timestamp") Integer timestamp,
+                                                             @RequestParam("timestamp") Long timestamp,
                                                              @RequestHeader("uuid") String uuid) {
 
         LicensePlateValidateRequest request = new LicensePlateValidateRequest();

+ 1 - 1
iot-platform-manager/src/main/java/com/platform/api/request/LicensePlateValidateRequest.java

@@ -30,7 +30,7 @@ public class LicensePlateValidateRequest {
      * 时间
      */
     @NotNull(message = "时间不能为空")
-    private Integer timestamp;
+    private Long timestamp;
 
     /**
      * 厂商来源标识