完成上传下载连接,公告管理与详情页面,求种区页面,轮播图折扣显示,修改部分bug

Change-Id: I86fc294e32911cb3426a8b16f90aca371f975c11
diff --git a/src/api/helpComment.js b/src/api/helpComment.js
index c1d00c0..2ff9ade 100644
--- a/src/api/helpComment.js
+++ b/src/api/helpComment.js
@@ -1,14 +1,14 @@
 import { api } from './auth';

 

-export const likePostComment = (commentId) => {

+export const likeHelpPostComment = (commentId) => {

   return api.post(`/help/comments/${commentId}/like`);

 };

 

-export const getCommentReplies = (commentId) => {

+export const getHelpCommentReplies = (commentId) => {

   return api.get(`/help/comments/${commentId}/replies`);

 };

 

-export const addCommentReply = (commentId, replyData) => {

+export const addHelpCommentReply = (commentId, replyData) => {

   const formData = new FormData();

   formData.append('authorId', replyData.authorId);

   formData.append('content', replyData.content);

@@ -21,7 +21,7 @@
   return api.post(`/help/comments/${commentId}/replies`, formData);

 };

 

-export const deleteComment = (commentId, authorId) => {

+export const deleteHelpComment = (commentId, authorId) => {

   return api.delete(`/help/comments/${commentId}`, {

     params: { authorId }

   });