feat: license历史
This commit is contained in:
@@ -47,6 +47,13 @@ export function getLicense(id: number) {
|
||||
return requestClient.get<LicenseApi.License>(`/license/license/get?id=${id}`);
|
||||
}
|
||||
|
||||
/** 查询License历史 */
|
||||
export function getLicenseHistory(id: number) {
|
||||
return requestClient.get<LicenseApi.License[]>(
|
||||
`/license/license/history?id=${id}`,
|
||||
);
|
||||
}
|
||||
|
||||
/** 新增License */
|
||||
export function createLicense(data: LicenseApi.License) {
|
||||
return requestClient.post('/license/license/create', data);
|
||||
|
||||
Reference in New Issue
Block a user