From e8c62bd430b9697d3f954125b7ec9f61f18347a2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 11:19:34 +0800
Subject: [PATCH] 测试完成
---
src/api/AiCentre/publicity.js | 45 ++++++++++++++++++++++++++++++++-------------
1 files changed, 32 insertions(+), 13 deletions(-)
diff --git a/src/api/AiCentre/publicity.js b/src/api/AiCentre/publicity.js
index 76c553c..06097d8 100644
--- a/src/api/AiCentre/publicity.js
+++ b/src/api/AiCentre/publicity.js
@@ -1,6 +1,6 @@
import request from "@/utils/request";
-// 鏌ヨ瀹f暀妯$増鍒楄〃
+// 鏌ヨ瀹f暀妯℃澘鍒楄〃
export function getlibrarylist(data) {
return request({
url: "/smartor/library/list",
@@ -9,14 +9,14 @@
});
}
-// 鍒犻櫎瀹f暀妯$増
+// 鍒犻櫎瀹f暀妯℃澘
export function dellibraryinfo(Id) {
return request({
url: "/smartor/library/remove/" + Id,
method: "get",
});
}
- // 鏌ヨ瀹f暀妯$増璇︽儏鍒楄〃
+ // 鏌ヨ瀹f暀妯℃澘璇︽儏鍒楄〃
export function getlibraryinfo(data) {
return request({
url: "/smartor/library/selectInfoByCondition",
@@ -24,18 +24,30 @@
data: data,
});
}
-// 鏂板鎴栦慨鏀瑰鏁欐ā鐗�
+// 鏂板鎴栦慨鏀瑰鏁欐ā鏉�
export function compilelibrary(data) {
return request({
- url: "/smartor/library/saveOrUpdateScript",
+ url: "/smartor/library/saveOrUpdateHeLibrary",
method: "post",
data: data,
});
}
-
-
-
- // 鏂板瀹f暀妯$増鍒嗙被鏍�
+ // 鏂板鎴栦慨鏀瑰鏁欐ā鏉�
+export function getcompiletask(data) {
+ return request({
+ url: "/smartor/heTaskSingle/queryHeTaskByCondition",
+ method: "post",
+ data: data,
+ });
+}
+ export function addrichText(data) {
+ return request({
+ url: "/common/htmlContent",
+ method: "post",
+ data: data,
+ });
+ }
+ // 鏂板瀹f暀妯℃澘鍒嗙被鏍�
export function addheLibraryAssort(data) {
return request({
url: "/smartor/heLibraryAssort/addtree",
@@ -43,14 +55,22 @@
data: data,
});
}
- // 鍒犻櫎瀹f暀妯$増鍒嗙被
+ // 鏂板瀹f暀妯℃澘鍒嗙被鏍�
+ export function editheLibraryAssort(data) {
+ return request({
+ url: "/smartor/heLibraryAssort/edit",
+ method: "post",
+ data: data,
+ });
+ }
+ // 鍒犻櫎瀹f暀妯℃澘鍒嗙被
export function delheLibraryAssort(Id) {
return request({
url: "/smartor/heLibraryAssort/remove/" + Id,
method: "get",
});
}
- // 鏌ヨ瀹f暀妯$増鍒嗙被鏍�
+ // 鏌ヨ瀹f暀妯℃澘鍒嗙被鏍�
export function getheLibraryAssort(data) {
return request({
url: "/smartor/heLibraryAssort/selectHeLibraryAssortList",
@@ -58,5 +78,4 @@
data: data,
});
}
-
-
\ No newline at end of file
+
--
Gitblit v1.9.3