From 980e4e15b5e2a3b04f32ec21411379abfb2d6d14 Mon Sep 17 00:00:00 2001 From: inter Date: Mon, 8 Sep 2025 16:36:28 +0800 Subject: [PATCH] Add File --- frontend/src/api/license.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 frontend/src/api/license.ts 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), +}