feat: add app download

This commit is contained in:
2025-03-09 10:35:13 +08:00
parent af18b39248
commit ce9b43b497
6 changed files with 286 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
import { query } from '@/module/query.ts';
type QueryAppParams = {
id?: string;
user?: string;
key?: string;
};
export const queryApp = async (params: QueryAppParams) => {
return await query.post({
path: 'app',
key: 'getApp',
data: {
...params,
},
});
};