|
@@ -226,7 +226,9 @@ public class CourseCommentScrmController extends AppBaseController
|
|
|
FsUserCourseComment fsUserCourseComment = new FsUserCourseComment();
|
|
FsUserCourseComment fsUserCourseComment = new FsUserCourseComment();
|
|
|
fsUserCourseComment.setUserId(Long.parseLong(getUserId()));
|
|
fsUserCourseComment.setUserId(Long.parseLong(getUserId()));
|
|
|
fsUserCourseComment.setCourseId(courseId);
|
|
fsUserCourseComment.setCourseId(courseId);
|
|
|
- content = content.replace("https://bjzmky-1323137866.cos.ap-chongqing.myqcloud.com", "http://bjzmkytcpv.ylrzcloud.com");
|
|
|
|
|
|
|
+ if (StringUtils.isNotEmpty(cloudHostProper.getCommentContentReplaceFrom())) {
|
|
|
|
|
+ content = content.replace(cloudHostProper.getCommentContentReplaceFrom(), cloudHostProper.getCommentContentReplaceTo());
|
|
|
|
|
+ }
|
|
|
fsUserCourseComment.setContent(content);
|
|
fsUserCourseComment.setContent(content);
|
|
|
fsUserCourseComment.setType(type);
|
|
fsUserCourseComment.setType(type);
|
|
|
if (type == 1) {
|
|
if (type == 1) {
|