Xazn-vue/src/api/license.js

27 lines
533 B
JavaScript
Raw Permalink Normal View History

2025-05-22 16:32:24 +08:00
import request from '@/utils/request';
// 获取证书有效期
export function getLicenseInfo() {
return request({
url: '/license/validate',
method: 'get',
});
}
//安装许可证
export function installLicense(data) {
return request({
url: '/license/install',
method: 'post',
data: data,
});
}
//获取服务器信息
export function getServerInfo(query) {
return request({
url: '/license/getServerInfo',
method: 'get',
params: query,
});
}