diff --git a/frontend/src/api/license.ts b/frontend/src/api/license.ts new file mode 100644 index 0000000..b68589a --- /dev/null +++ b/frontend/src/api/license.ts @@ -0,0 +1,7 @@ +import { request } from '@/utils/request' + +export const licenseApi = { + validate: () => request.get('/system/license'), + version: () => request.get('/system/license/version'), + update: (data: any) => request.post('/system/license', data), +}