mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-12 16:18:45 +08:00
feat:版本迭代
This commit is contained in:
@@ -2,8 +2,8 @@ import request from "@/utils/request";
|
||||
import type { Resource } from "@/types/index";
|
||||
|
||||
export const resourceApi = {
|
||||
search(keyword: string, backupPlan: boolean, channelId?: string, lastMessageId?: string) {
|
||||
return request.get<Resource[]>(`/api/${backupPlan ? "rssSearch" : "search"}`, {
|
||||
search(keyword: string, channelId?: string, lastMessageId?: string) {
|
||||
return request.get<Resource[]>(`/api/search`, {
|
||||
params: { keyword, channelId, lastMessageId },
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user