个人中心全部,模糊乱序搜索,类型筛选

Change-Id: Id635654fccccaea80bfbf4d1480abd55f7d12046
diff --git a/src/api/helpPost.js b/src/api/helpPost.js
index 4813aa3..92d6402 100644
--- a/src/api/helpPost.js
+++ b/src/api/helpPost.js
@@ -50,4 +50,11 @@
   return api.delete(`/help/posts/${postId}`, {

     params: { authorId }

   });

+};

+

+

+export const searchPosts = (keyword, page = 1, size = 5) => {

+  return api.get('/help/posts/search', {

+    params: { keyword, page, size }

+  });

 };
\ No newline at end of file