add:新增search接口
This commit is contained in:
1 parent
ed3ce8ba53
commit
668f57d9ca
3 files changed
+14
-3
No files matched your search
@@ -11,6 +11,12 @@ function getTypeList() {
|
||||
function getArticleList(data: ArticleParams) {
|
||||
return httpClient.get<PageResult<Article>>('/articles', data)
|
||||
}
|
||||
function getSearchRecords() {
|
||||
return httpClient.get<string[]>('/articles/search-records')
|
||||
}
|
||||
function getSearchRecommends() {
|
||||
return httpClient.get<string[]>('/articles/active-search-recommends')
|
||||
}
|
||||
export default {
|
||||
getCarousalList,
|
||||
getTypeList,
|
||||
|
||||
Reference in new issue
Block a user