diff --git a/admin/src/api/community.ts b/admin/src/api/community.ts
index 8f5cb43..61995b4 100644
--- a/admin/src/api/community.ts
+++ b/admin/src/api/community.ts
@@ -10,6 +10,11 @@ export function communityPostDetail(params: any) {
return request.get({ url: '/community.communityPost/detail', params })
}
+// 编辑帖子内容
+export function communityPostEditContent(params: any) {
+ return request.post({ url: '/community.communityPost/editContent', params })
+}
+
// 帖子审核状态
export function communityPostStatus(params: any) {
return request.post({ url: '/community.communityPost/updateStatus', params })
diff --git a/admin/src/views/community/post/index.vue b/admin/src/views/community/post/index.vue
index 6f67885..96cceae 100644
--- a/admin/src/views/community/post/index.vue
+++ b/admin/src/views/community/post/index.vue
@@ -129,12 +129,16 @@
-
+
详情
+
+ 编辑
+
通过
@@ -199,12 +203,27 @@
关闭
+
+
+
+
+
+
+
+ 取消
+
+ 保存
+
+
+