第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:14:48 +08:00
commit 1b923e5cff
1030 changed files with 128016 additions and 0 deletions

29
api/article-comment.js Normal file
View File

@@ -0,0 +1,29 @@
import http from './index.js';
// 分页查询文章评论
export const pageArticleComment = (params) => http.get('/cms/article-comment/page', {params})
// 查询文章评论
export const getArticleComment = (ArticleCommentId) => http.get('/cms/article-comment/' + ArticleCommentId)
// 查询全部评论
export const listArticleComment = (params) => http.get('/cms/article-comment', {params})
// 添加文章评论
export const addArticleComment = (data) => http.post('/cms/article-comment', data)
// 删除文章评论
export const removeArticleComment = (id) => http.delete('/cms/article-comment/' + id)
// 未读评论数
export const getArticleCommentUnreadCount = () => http.get('/cms/article-comment/unread')
export default {
pageArticleComment,
listArticleComment,
getArticleComment,
addArticleComment,
removeArticleComment,
getArticleCommentUnreadCount
}