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

This commit is contained in:
lzh
2026-02-24 15:02:09 +08:00
parent 9c6080e082
commit cd38d89fe5
3209 changed files with 4531 additions and 4531 deletions

View File

@@ -0,0 +1 @@
import{aq as t,a5 as i,bC as c}from"./bootstrap-CvlyDbJT.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};