feat: 上传资源和下载资源更新
This commit is contained in:
12
src/routes/app-manager/export.ts
Normal file
12
src/routes/app-manager/export.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { app } from '@/app.ts';
|
||||
export const callDetectAppVersion = async ({ appKey, version, username }: { appKey: string; version: string; username: string }, token: string) => {
|
||||
const res = await app.call({
|
||||
path: 'app',
|
||||
key: 'detect-version-list',
|
||||
payload: {
|
||||
token: token,
|
||||
data: { appKey, version, username },
|
||||
},
|
||||
});
|
||||
return res;
|
||||
};
|
||||
Reference in New Issue
Block a user