|
@@ -13,6 +13,7 @@ import com.fdkankan.common.constant.CommonStatus;
|
|
|
import com.fdkankan.common.constant.CommonSuccessStatus;
|
|
|
import com.fdkankan.common.constant.ErrorCode;
|
|
|
import com.fdkankan.common.exception.BusinessException;
|
|
|
+import com.fdkankan.fyun.config.FYunFileConfig;
|
|
|
import com.fdkankan.fyun.face.FYunFileServiceInterface;
|
|
|
import com.fdkankan.model.constants.ConstantFilePath;
|
|
|
import com.fdkankan.model.constants.UploadFilePath;
|
|
@@ -63,6 +64,8 @@ public class ScrbServiceImpl implements IScrbService {
|
|
|
private ISceneEditInfoService sceneEditInfoService;
|
|
|
@Autowired
|
|
|
private ILeaveWordService leaveWordService;
|
|
|
+ @Resource
|
|
|
+ private FYunFileConfig fYunFileConfig;
|
|
|
|
|
|
|
|
|
@Override
|
|
@@ -114,7 +117,11 @@ public class ScrbServiceImpl implements IScrbService {
|
|
|
|
|
|
@Override
|
|
|
public List<TextVoiceTransfer> listTextVoiceTransfer(String num) {
|
|
|
- return textVoiceTransferService.list(new LambdaQueryWrapper<TextVoiceTransfer>().eq(TextVoiceTransfer::getNum, num));
|
|
|
+ List<TextVoiceTransfer> list = textVoiceTransferService.list(new LambdaQueryWrapper<TextVoiceTransfer>().eq(TextVoiceTransfer::getNum, num));
|
|
|
+ list.stream().forEach(v->{
|
|
|
+ v.setVoicePath(fYunFileConfig.getHost() + v.getVoicePath());
|
|
|
+ });
|
|
|
+ return list;
|
|
|
}
|
|
|
|
|
|
@Override
|