WXL
2024-08-06 17b041e2e7ebd5afe75403fefc57cc6a88b51dad
src/api/AiCentre/publicity.js
@@ -27,18 +27,38 @@
// 新增或修改宣教模版
export function compilelibrary(data) {
    return request({
      url: "/smartor/library/saveOrUpdateScript",
      url: "/smartor/library/saveOrUpdateHeLibrary",
      method: "post",
      data: data,
    });
  }
  // 新增或修改宣教模版
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,
    });
  }
  // 新增宣教模版分类树
  export function addheLibraryAssort(data) {
    return request({
      url: "/smartor/heLibraryAssort/addtree",
      method: "post",
      data: data,
    });
  }
   // 新增宣教模版分类树
   export function editheLibraryAssort(data) {
    return request({
      url: "/smartor/heLibraryAssort/edit",
      method: "post",
      data: data,
    });
@@ -58,5 +78,4 @@
      data: data,
    });
  }