我是人,我做了悬赏中心,可以进行悬赏哦
Change-Id: I845de799a633be286a6fadee2b7aa533238c3652
diff --git a/src/services/post/index.ts b/src/services/post/index.ts
index 3452095..13e5bae 100644
--- a/src/services/post/index.ts
+++ b/src/services/post/index.ts
@@ -1,3 +1,4 @@
+// @ts-ignore
import { request } from '@umijs/max';
export interface PostListParams {
@@ -26,7 +27,7 @@
// 获取帖子列表
export async function getPostList(params: PostListParams) {
- console.log('getPostList', params);
+ console.log('getPostList', params);
return request<API.TableDataInfo>('/api/post-center/list', {
method: 'GET',
params,
@@ -138,7 +139,7 @@
method: 'POST',
data: file,
});
-}
+}
// 删除图片
export async function deleteImage(filename: string): Promise<API.AjaxResult> {
@@ -259,4 +260,4 @@
method: 'PUT',
data: { action, postId, reason },
});
-}
\ No newline at end of file
+}