2 lines
1.2 KiB
JavaScript
2 lines
1.2 KiB
JavaScript
import{M as t}from"./index-Dfq66cyz.js";import{w as n,A as u}from"./aiRequest.br0QglYY.js";import{r as a}from"./ai.BxnTpIw-.js";function o(n){return t.get({url:"/community/postLists",data:n})}function r(n){return t.get({url:"/community/postDetail",data:n})}function s(n){return t.post({url:"/community/publish",data:n})}function i(n){return t.get({url:"/community/commentLists",data:n})}function e(n){return t.post({url:"/community/addComment",data:n})}function m(n){return t.post({url:"/community/deleteComment",data:n})}function c(n){return t.post({url:"/community/deletePost",data:n})}function l(n){return t.post({url:"/community/like",data:n})}function f(n){return t.post({url:"/community/follow",data:n})}function d(){return t.get({url:"/community/tagLists"})}function p(n){return t.post({url:"/community/purchasePost",data:n})}function y(n){return t.post({url:"/community/translatePost",data:n})}function g(t){return a({type:"post",...t})}function j(a){return t.get(n({url:"/community/aiAnalysisResult",data:a}),u)}function P(n){return t.get({url:"/community/userProfile",data:n})}export{r as a,g as b,j as c,d,l as e,y as f,o as g,s as h,i,e as j,m as k,c as l,P as m,p,f as t};
|