支持插件详情展示

This commit is contained in:
muwoo
2021-12-10 17:48:08 +08:00
parent 6ee0b2a795
commit 6f9830a181
4 changed files with 84 additions and 11 deletions

View File

@@ -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;
},
};