refactor: 工作台、工单统计看板接口对接
This commit is contained in:
1
apps/web-antd/dist/js/index-CSX9tFb2.js
vendored
Normal file
1
apps/web-antd/dist/js/index-CSX9tFb2.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import{aq as n,a5 as r,bC as p}from"./bootstrap-Bjx___ge.js";import{f as c}from"./fetch-ByP_rkuS.js";const d={VITE_GLOB_API_URL:"/admin-api"},{apiURL:m}=p(d,!0),u=r();function f({data:e,onClose:t,onMessage:a,onError:o,ctrl:i}){const s=u.accessToken;return c(`${m}/ai/mind-map/generate-stream`,{method:"post",headers:{"Content-Type":"application/json",Authorization:`Bearer ${s}`},openWhenHidden:!0,body:JSON.stringify(e),onmessage:a,onerror:o,onclose:t,signal:i.signal})}function l(e){return n.get("/ai/mind-map/page",{params:e})}function M(e){return n.delete(`/ai/mind-map/delete?id=${e}`)}export{l as a,M as d,f as g};
|
||||
Reference in New Issue
Block a user