This commit is contained in:
Gabe Yuan
2023-09-08 21:41:32 +08:00
parent 1ff1b21355
commit 441a2ca2da
7 changed files with 158 additions and 36 deletions

View File

@@ -33,13 +33,12 @@ export const apiSyncData = async (url, key, data, isBg = false) =>
});
/**
* 下载订阅规则
* 下载数据
* @param {*} url
* @param {*} isBg
* @returns
*/
export const apiFetchRules = (url, isBg = false) =>
fetchPolyfill(url, { isBg });
export const apiFetch = (url, isBg = false) => fetchPolyfill(url, { isBg });
/**
* 谷歌翻译