Commit 97159505 by 魏文甫

update

1 parent 70f7872e
...@@ -130,6 +130,7 @@ public class InformationServiceImpl implements InformationService { ...@@ -130,6 +130,7 @@ public class InformationServiceImpl implements InformationService {
tKzyCourseComment.setIsDelete(0); tKzyCourseComment.setIsDelete(0);
tKzyCourseComment.setReplyContent(comment); tKzyCourseComment.setReplyContent(comment);
tKzyCourseComment.setType(1); tKzyCourseComment.setType(1);
tKzyCourseComment.setAuthStatus(0);
tKzyCommentMapper.insertSelective(tKzyCourseComment); tKzyCommentMapper.insertSelective(tKzyCourseComment);
return returnMap("1", "操作成功!", null); return returnMap("1", "操作成功!", null);
} }
......
...@@ -269,6 +269,7 @@ public class TKzyCourseServiceImpl implements TKzyCourseService { ...@@ -269,6 +269,7 @@ public class TKzyCourseServiceImpl implements TKzyCourseService {
tKzyCourseComment.setIsDelete(0); tKzyCourseComment.setIsDelete(0);
tKzyCourseComment.setReplyContent(comment); tKzyCourseComment.setReplyContent(comment);
tKzyCourseComment.setType(2); tKzyCourseComment.setType(2);
tKzyCourseComment.setAuthStatus(0);
tKzyCommentMapper.insertSelective(tKzyCourseComment); tKzyCommentMapper.insertSelective(tKzyCourseComment);
resultMap.put("message", "评论成功~"); resultMap.put("message", "评论成功~");
resultMap.put("status", "1"); resultMap.put("status", "1");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!