更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -1,10 +1,5 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// ==================== 官网管理 - 评论管理(平台端) ====================
|
||||
// 数据表:yz_platform_website_comment
|
||||
// status:0 待审核,1 已通过,2 已拒绝
|
||||
|
||||
// 评论列表(分页):keyword / status / article_id / page / pageSize
|
||||
export function listComments(params) {
|
||||
return request({
|
||||
url: "/platform/website/comment/list",
|
||||
@@ -13,7 +8,6 @@ export function listComments(params) {
|
||||
});
|
||||
}
|
||||
|
||||
// 评论详情
|
||||
export function getComment(id) {
|
||||
return request({
|
||||
url: `/platform/website/comment/${id}`,
|
||||
@@ -21,7 +15,6 @@ export function getComment(id) {
|
||||
});
|
||||
}
|
||||
|
||||
// 审核评论(status:1 通过 / 2 拒绝)
|
||||
export function auditComment(id, status) {
|
||||
return request({
|
||||
url: `/platform/website/comment/${id}/audit`,
|
||||
@@ -30,7 +23,6 @@ export function auditComment(id, status) {
|
||||
});
|
||||
}
|
||||
|
||||
// 回复评论
|
||||
export function replyComment(id, reply) {
|
||||
return request({
|
||||
url: `/platform/website/comment/${id}/reply`,
|
||||
@@ -39,7 +31,6 @@ export function replyComment(id, reply) {
|
||||
});
|
||||
}
|
||||
|
||||
// 删除评论
|
||||
export function deleteComment(id) {
|
||||
return request({
|
||||
url: `/platform/website/comment/${id}`,
|
||||
@@ -47,7 +38,6 @@ export function deleteComment(id) {
|
||||
});
|
||||
}
|
||||
|
||||
// 批量删除评论
|
||||
export function batchDeleteComments(ids) {
|
||||
return request({
|
||||
url: "/platform/website/comment/batchdelete",
|
||||
|
||||
Reference in new issue
Block a user