|
@@ -14,6 +14,7 @@ import org.slf4j.MDC;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.io.File;
|
|
|
import java.io.PrintWriter;
|
|
|
import java.io.StringWriter;
|
|
|
import java.util.Date;
|
|
@@ -46,6 +47,10 @@ public class FodderServiceImpl implements FodderService {
|
|
|
// log.info("trim: {}", trim);
|
|
|
BaseRuntimeException.isTrue(StrUtil.isAllBlank(trim), null, code + "_tour.xml文件不存在");
|
|
|
|
|
|
+ // 2022-09-15 加入相对路径
|
|
|
+ String basePath = File.separator + configConstant.ossBasePath + code + "/vtour/panos/";
|
|
|
+ trim = trim.replaceAll("panos/", basePath);
|
|
|
+
|
|
|
return trim;
|
|
|
}
|
|
|
|