diff --git a/feature/src/assets/request/index.ts b/feature/src/assets/request/index.ts index 5701e76..304345c 100644 --- a/feature/src/assets/request/index.ts +++ b/feature/src/assets/request/index.ts @@ -21,4 +21,15 @@ export default { ); return res.data; }, + async getWorkerDetail() { + const res = await axios.get( + "https://gitee.com/monkeyWang/rubick-database/raw/master/plugins/worker.json" + ); + return res.data; + }, + + async getPluginDetail(url: string) { + const res = await axios.get(url); + return res.data; + }, }; diff --git a/feature/src/views/market/components/plugin-list.vue b/feature/src/views/market/components/plugin-list.vue index 71e793f..305845e 100644 --- a/feature/src/views/market/components/plugin-list.vue +++ b/feature/src/views/market/components/plugin-list.vue @@ -4,7 +4,7 @@