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');