From a1d7e81859f554f3a53680cc35f0f49bf1f77098 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 14 五月 2026 14:37:02 +0800
Subject: [PATCH] 导入项目
---
src/api/mp/freePublish/index.ts | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/src/api/mp/freePublish/index.ts b/src/api/mp/freePublish/index.ts
new file mode 100644
index 0000000..beef026
--- /dev/null
+++ b/src/api/mp/freePublish/index.ts
@@ -0,0 +1,23 @@
+import request from '@/config/axios'
+
+// 鑾峰緱鍏紬鍙风礌鏉愬垎椤�
+export const getFreePublishPage = (query) => {
+ return request.get({
+ url: '/mp/free-publish/page',
+ params: query
+ })
+}
+
+// 鍒犻櫎鍏紬鍙风礌鏉�
+export const deleteFreePublish = (accountId, articleId) => {
+ return request.delete({
+ url: '/mp/free-publish/delete?accountId=' + accountId + '&articleId=' + articleId
+ })
+}
+
+// 鍙戝竷鍏紬鍙风礌鏉�
+export const submitFreePublish = (accountId, mediaId) => {
+ return request.post({
+ url: '/mp/free-publish/submit?accountId=' + accountId + '&mediaId=' + mediaId
+ })
+}
--
Gitblit v1.8.0