|
|
|
@ -34,6 +34,9 @@ public class PhotoHandler {
|
|
|
|
|
@Value("${mqtt.photodir}")
|
|
|
|
|
private String photodir;
|
|
|
|
|
|
|
|
|
|
@Value("${system.address}")
|
|
|
|
|
private String address;
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
TerminalExtService terminalExtService;
|
|
|
|
|
@Resource
|
|
|
|
@ -99,6 +102,7 @@ public class PhotoHandler {
|
|
|
|
|
SetAcceptCameraPhoto item = new SetAcceptCameraPhoto();
|
|
|
|
|
item.setChannel(image.getChannelNumber());
|
|
|
|
|
item.setPreset_no(image.getPresetPosition());
|
|
|
|
|
item.setHttpUrl(address + "/api/xymanager/uploadPhoto");
|
|
|
|
|
|
|
|
|
|
PlatformSettingParameterLssueService issue = new PlatformSettingParameterLssueService();
|
|
|
|
|
issue.setSetAcceptCameraPhoto(item);
|
|
|
|
|