aigc/src/services/hebi/postFavourController.ts
2025-03-28 19:47:45 +08:00

49 lines
1.2 KiB
TypeScript

// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
/** doPostFavour POST /api/post_favour/ */
export async function doPostFavourUsingPost(
body: API.PostFavourAddRequest,
options?: { [key: string]: any },
) {
return request<API.BaseResponseInt_>('/api/post_favour/', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** listFavourPostByPage POST /api/post_favour/list/page */
export async function listFavourPostByPageUsingPost(
body: API.PostFavourQueryRequest,
options?: { [key: string]: any },
) {
return request<API.BaseResponsePagePostVO_>('/api/post_favour/list/page', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** listMyFavourPostByPage POST /api/post_favour/my/list/page */
export async function listMyFavourPostByPageUsingPost(
body: API.PostQueryRequest,
options?: { [key: string]: any },
) {
return request<API.BaseResponsePagePostVO_>('/api/post_favour/my/list/page', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}