|
@@ -157,6 +157,9 @@ public class TCallRecordServiceImpl implements ITCallRecordService
|
|
String url = tCallRecord.getUrl();
|
|
String url = tCallRecord.getUrl();
|
|
if(StringUtils.isBlank(url))
|
|
if(StringUtils.isBlank(url))
|
|
throw new ServiceException("此次通话记录,未记录录音文件,无法转换");
|
|
throw new ServiceException("此次通话记录,未记录录音文件,无法转换");
|
|
|
|
+ Long hasParsed = tCallRecord.getHasParsed();
|
|
|
|
+ if(!Objects.isNull(hasParsed) && 1== hasParsed)
|
|
|
|
+ throw new ServiceException("此次通话记录已经做过转换了,无需重复转换");
|
|
/*final String accessKeyId = "LTAI5tQ2HmiHCygZkt5BYrYR";
|
|
/*final String accessKeyId = "LTAI5tQ2HmiHCygZkt5BYrYR";
|
|
final String accessKeySecret = "KhmxTd14SUcXafpFk5yofA43FoeM99";
|
|
final String accessKeySecret = "KhmxTd14SUcXafpFk5yofA43FoeM99";
|
|
final String appKey = "OKt6jogp6fRjHQVp";*/
|
|
final String appKey = "OKt6jogp6fRjHQVp";*/
|