Commit 121b8385 by 魏文甫

update

1 parent 97159505
...@@ -130,7 +130,7 @@ public class InformationServiceImpl implements InformationService { ...@@ -130,7 +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); tKzyCourseComment.setAuthStatus(1);
tKzyCommentMapper.insertSelective(tKzyCourseComment); tKzyCommentMapper.insertSelective(tKzyCourseComment);
return returnMap("1", "操作成功!", null); return returnMap("1", "操作成功!", null);
} }
......
...@@ -269,7 +269,7 @@ public class TKzyCourseServiceImpl implements TKzyCourseService { ...@@ -269,7 +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); tKzyCourseComment.setAuthStatus(1);
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!