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