fix: 优化license保存接口参数类型

This commit is contained in:
xieyonghong 2023-05-10 13:54:04 +08:00
parent 6253aa5c32
commit 7aac9cfce6
1 changed files with 5 additions and 1 deletions

View File

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