扫码lib修改

merge-requests/5/merge
yiming 4 years ago
parent 082c2aaee8
commit 071176ccf6

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -42,14 +42,13 @@ public class ConfigProperties {
public static class CameraConfig{ public static class CameraConfig{
private Integer cameraType; private Integer cameraType;
private String cameraPassword; private String cameraPassword;
private String cameraUser; private String cameraUser;
private Integer cameraPort; private Integer cameraPort;
private String videoServer;
private Long delayCaptureTime; private Long delayCaptureTime;
private Long delayScanTime; private Long delayScanTime;

@ -50,11 +50,4 @@ public class RealTimeController {
return Result.success(styles); return Result.success(styles);
} }
@GetMapping("/videoServer")
@ApiOperation(value = "视频服务器地址")
public Result<String> getVideoServer(){
return Result.success(configProperties.getCameraConfig().getVideoServer());
}
} }

@ -31,7 +31,6 @@ cameraConfig:
cameraPassword: a1234567 cameraPassword: a1234567
cameraUser: admin cameraUser: admin
cameraPort: 37777 cameraPort: 37777
videoServer: localhost:8083
#相机抓图延迟 毫秒 #相机抓图延迟 毫秒
delayCaptureTime: 2000 delayCaptureTime: 2000
#OCR识别延迟 毫秒 #OCR识别延迟 毫秒

Loading…
Cancel
Save