|
@@ -43,7 +43,7 @@ public class FodderServiceImpl implements FodderService {
|
|
|
String tourPath = configConstant.serverBasePath + code + "/vtour/tour.xml";
|
|
|
log.info("tourPath: {}", tourPath);
|
|
|
BaseRuntimeException.isTrue(!FileUtils.checkFileExtend(tourPath, 10), null, code + "_tour.xml文件不存在");
|
|
|
- String tour = FileUtil.readString(tourPath, "utf-8");
|
|
|
+ String tour = FileUtil.readUtf8String(tourPath);
|
|
|
tour = StrUtil.subAfter(tour, "</action>", true);
|
|
|
tour = StrUtil.subBefore(tour, "</krpano>", true);
|
|
|
String trim = StrUtil.trim(tour);
|