增加导出配置及手动添加的关注对象

This commit is contained in:
jianzhichu
2025-12-08 16:46:54 +08:00
parent 2550a1fde8
commit 5c05e6465b
9 changed files with 387 additions and 61 deletions
+18
View File
@@ -220,7 +220,25 @@ export const useApiStore = defineStore('coreapi', () => {
});
}
//导出配置
async function ExportConf() {
return http.request<any, Response<any>>('/api/config/exportConf', 'get').then(r => {
return r.data;
}).finally(() => {
});
}
//导入配置
async function ImportConf(param: object) {
return http.request<any, Response<any>>('/api/config/importConf', 'post_json', param).then(r => {
return r.data;
}).finally(() => {
});
}
return {
ExportConf,
ImportConf,
GetDeleteViedos,
DelFollow,
AddFollow,