chore: build and deploy web-antd
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 9s

This commit is contained in:
lzh
2026-03-23 17:45:01 +08:00
parent 8fa488feb7
commit 10951e5e87
3289 changed files with 4573 additions and 4573 deletions

View File

@@ -0,0 +1 @@
import{aq as t,a5 as i,bs as c}from"./bootstrap-DhvYQWXT.js";import{f as p}from"./fetch-ByP_rkuS.js";const u={VITE_GLOB_API_URL:"/admin-api"},{apiURL:m}=c(u,!0),g=i();function f({data:e,onClose:r,onMessage:n,onError:a,ctrl:o}){const s=g.accessToken;return p(`${m}/ai/write/generate-stream`,{method:"post",headers:{"Content-Type":"application/json",Authorization:`Bearer ${s}`},openWhenHidden:!0,body:JSON.stringify(e),onmessage:n,onerror:a,onclose:r,signal:o.signal})}function l(e){return t.get("/ai/write/page",{params:e})}function h(e){return t.delete("/ai/write/delete",{params:{id:e}})}export{h as d,l as g,f as w};