From 7aac9cfce6637856521f47005be06a50b403645a Mon Sep 17 00:00:00 2001 From: xieyonghong <18010623010@163.com> Date: Wed, 10 May 2023 13:54:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96license=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/license.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/api/system/license.ts b/src/api/system/license.ts index 3f5f3305..1d372bde 100644 --- a/src/api/system/license.ts +++ b/src/api/system/license.ts @@ -2,7 +2,11 @@ import server from '@/utils/request'; export const getModule = () => server.get('/license/module'); -export const licenseInit = (data:any) =>server.post('/license/init',data); +export const licenseInit = (data:any) =>server.post('/license/init',data, {}, { + headers: { + 'Content-Type': 'text/plain;charset=UTF-8' + } +}); export const getLicense = () => server.get('/license');