|
@@ -46,6 +46,8 @@ public class JmgaServiceImpl implements IJmgaService {
|
|
|
public static final String ipv4Pattern = "\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b";
|
|
public static final String ipv4Pattern = "\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b";
|
|
|
@Value("${jmga.eventNotice:false}")
|
|
@Value("${jmga.eventNotice:false}")
|
|
|
private boolean eventNotice;
|
|
private boolean eventNotice;
|
|
|
|
|
+ @Value("${scene.pro.new.url}")
|
|
|
|
|
+ private String sceneProNewUrl;
|
|
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private IOrigFileUploadBatchService origFileUploadBatchService;
|
|
private IOrigFileUploadBatchService origFileUploadBatchService;
|
|
@@ -293,6 +295,7 @@ public class JmgaServiceImpl implements IJmgaService {
|
|
|
if(scenePlusExt == null){
|
|
if(scenePlusExt == null){
|
|
|
scenePlusExt = new ScenePlusExt();
|
|
scenePlusExt = new ScenePlusExt();
|
|
|
scenePlusExt.setPlusId(scenePlus.getId());
|
|
scenePlusExt.setPlusId(scenePlus.getId());
|
|
|
|
|
+ scenePlusExt.setWebSite("/" + sceneProNewUrl);
|
|
|
String fileId = sceneFileBuildService.getFileId(snCode, uniCode);
|
|
String fileId = sceneFileBuildService.getFileId(snCode, uniCode);
|
|
|
scenePlusExt.setDataSource(ConstantFilePath.BUILD_MODEL_PATH + snCode + File.separator + fileId + File.separator + uniCode);
|
|
scenePlusExt.setDataSource(ConstantFilePath.BUILD_MODEL_PATH + snCode + File.separator + fileId + File.separator + uniCode);
|
|
|
scenePlusExtService.save(scenePlusExt);
|
|
scenePlusExtService.save(scenePlusExt);
|