mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 05:49:20 +08:00
feat: 新增授权管理
This commit is contained in:
@@ -21,6 +21,14 @@ export async function getInitFingerprintApi() {
|
||||
}
|
||||
|
||||
export async function activateLicenseApi(data: LicenseDTO.ActivateLicense) {
|
||||
return requestClient.post<LicenseVO.LicenseSummary>(
|
||||
'/system/license/activate',
|
||||
data,
|
||||
);
|
||||
}
|
||||
|
||||
/** @deprecated 初始化向导用,后端若未实现可忽略 */
|
||||
export async function activateInitLicenseApi(data: LicenseDTO.ActivateLicense) {
|
||||
return baseRequestClient.post<LicenseVO.LicenseSummary>(
|
||||
'/init/activate',
|
||||
data,
|
||||
|
||||
@@ -24,6 +24,7 @@ export namespace LicenseVO {
|
||||
edition?: string;
|
||||
machineFingerprint?: string;
|
||||
features?: string[];
|
||||
maxCompanies?: number;
|
||||
issuedAt?: string;
|
||||
expiresAt?: string;
|
||||
daysRemaining?: number;
|
||||
|
||||
Reference in New Issue
Block a user