|
@@ -85,6 +85,9 @@ public class BuildReverseE57SceneServiceImpl implements IBuildSceneService {
|
|
private IFdkkLaserService fdkkLaserService;
|
|
private IFdkkLaserService fdkkLaserService;
|
|
@Autowired
|
|
@Autowired
|
|
private ISceneEditControlsService sceneEditControlsService;
|
|
private ISceneEditControlsService sceneEditControlsService;
|
|
|
|
+
|
|
|
|
+ @Value("${main.url}")
|
|
|
|
+ private String mainUrl;
|
|
@Override
|
|
@Override
|
|
public void buildScenePre(BuildSceneCallMessage message) throws Exception{
|
|
public void buildScenePre(BuildSceneCallMessage message) throws Exception{
|
|
String num = message.getSceneNum();
|
|
String num = message.getSceneNum();
|
|
@@ -235,6 +238,7 @@ public class BuildReverseE57SceneServiceImpl implements IBuildSceneService {
|
|
// scenePlus.setPayStatus(commonService.getPayStatus(scenePlus.getCameraId(), space));
|
|
// scenePlus.setPayStatus(commonService.getPayStatus(scenePlus.getCameraId(), space));
|
|
//统计原始资源大小
|
|
//统计原始资源大小
|
|
scenePlusExt.setOrigSpace(FileUtil.size(new File(path.concat(File.separator).concat("capture"))));
|
|
scenePlusExt.setOrigSpace(FileUtil.size(new File(path.concat(File.separator).concat("capture"))));
|
|
|
|
+ scenePlusExt.setWebSite(mainUrl + "/smg.html?m=" + sceneCode);
|
|
|
|
|
|
String visionTxt = FileUtil.readUtf8String(path + "/results/vision.txt");
|
|
String visionTxt = FileUtil.readUtf8String(path + "/results/vision.txt");
|
|
JSONObject visionObj = JSON.parseObject(visionTxt);
|
|
JSONObject visionObj = JSON.parseObject(visionTxt);
|