|
|
@@ -1565,7 +1565,7 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
|
|
|
break;
|
|
|
case "15":
|
|
|
- //app语音
|
|
|
+ //app文本
|
|
|
try {
|
|
|
qwSop = qwSopMapper.selectQwSopById(param.getSopId());
|
|
|
createVoiceUrl(st, companyUserId, qwSop);
|
|
|
@@ -1577,14 +1577,13 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
}
|
|
|
break;
|
|
|
case "16":
|
|
|
- //app文本
|
|
|
- String txt = StringUtil.strIsNullOrEmpty(qwUser.getWelcomeText()) ? "" : qwUser.getWelcomeText();
|
|
|
- st.setValue(st.getValue()
|
|
|
- .replaceAll("#客服称呼#", txt)
|
|
|
- .replaceAll("#销售称呼#", txt)
|
|
|
- .replaceAll("#客户称呼#", StringUtil.strIsNullOrEmpty(contact.getStageStatus()) || "0".equals(contact.getStageStatus()) ? "同学" : contact.getStageStatus()));
|
|
|
+ //app语音
|
|
|
try {
|
|
|
- replaceContent(st.getContentType(), st.getValue(), st::setValue, words); // 替换 value
|
|
|
+ qwSop = qwSopMapper.selectQwSopById(param.getSopId());
|
|
|
+ createVoiceUrl(st, companyUserId, qwSop);
|
|
|
+ if (qwUser.getCompanyUserId() != null) {
|
|
|
+ createVoiceUrlToIm(st, String.valueOf(qwUser.getCompanyUserId()), qwSop);
|
|
|
+ }
|
|
|
} catch (Exception e) {
|
|
|
throw new RuntimeException(e);
|
|
|
}
|