Commit b2b3b29f57626594abf1294f5a6b9952f6b316a6

Authored by 王通
1 parent d94478a6

1.注释掉报站音频自动生成的代码(系统原因不能调用ffmpeg)

src/main/java/com/bsth/service/impl/StationRouteServiceImpl.java
... ... @@ -436,11 +436,11 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ
436 436 List<LineRegion> lineRegions = lineRegionRepository.findAll(new CustomerSpecs<>(param));
437 437 if (objects.size()>0) {
438 438 // 报站音频
439   - Set<String> languages = new HashSet<>();
440   - languages.add("cn");
441   - languages.add("sh");
442   - languages.add("en");
443   - InputStream tts = ttsAndZip(objects, line, languages);
  439 +// Set<String> languages = new HashSet<>();
  440 +// languages.add("cn");
  441 +// languages.add("sh");
  442 +// languages.add("en");
  443 +// InputStream tts = ttsAndZip(objects, line, languages);
444 444 /** 获取配置文件里的ftp登录参数 */
445 445 Map<String, Object> FTPParamMap = readPropertiesGetFTPParam();
446 446 // 压缩文件名
... ... @@ -519,8 +519,8 @@ public class StationRouteServiceImpl extends BaseServiceImpl&lt;StationRoute, Integ
519 519 }
520 520  
521 521  
522   - clientUtils.deleteFtpFile(url, port, username, password, remotePath + "/voice/", String.format("%s.zip", line.getLineCode()));
523   - clientUtils.uploadFile(url, port, username, password, remotePath + "/voice/", String.format("%s.zip", line.getLineCode()), tts);
  522 +// clientUtils.deleteFtpFile(url, port, username, password, remotePath + "/voice/", String.format("%s.zip", line.getLineCode()));
  523 +// clientUtils.uploadFile(url, port, username, password, remotePath + "/voice/", String.format("%s.zip", line.getLineCode()), tts);
524 524  
525 525 resultMap.put("status", ResponseCode.SUCCESS);
526 526 }else {
... ...