2 lines
1.3 KiB
JavaScript
2 lines
1.3 KiB
JavaScript
import{N as t}from"./index-CtL4_Q40.js";import{w as n,A as u}from"./aiRequest.br0QglYY.js";import{r}from"./ai.lHCq68dL.js";function o(n){return t.get({url:"/community/postLists",data:n})}function a(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(){return t.get({url:"/community/categoryLists"})}function y(){return t.get({url:"/community/userStats"})}function g(n){return t.post({url:"/community/purchasePost",data:n})}function j(n){return t.post({url:"/community/translatePost",data:n})}function L(t){return r({type:"post",...t})}function P(r){return t.get(n({url:"/community/aiAnalysisResult",data:r}),u)}function h(n){return t.get({url:"/community/userProfile",data:n})}export{a,L as b,P as c,j as d,y as e,p as f,o as g,l as h,d as i,s as j,i as k,e as l,m,c as n,h as o,g as p,f as t};
|