ref: v3变更,,同步v2.2508.4

This commit is contained in:
TsMask
2025-09-01 11:19:01 +08:00
parent 2319cdf36b
commit e943b4dedc
129 changed files with 1876 additions and 3032 deletions

View File

@@ -19,24 +19,25 @@ export function listNeLicense(query: Record<string, any>) {
* @param licenseId 信息ID
* @returns object
*/
export function getNeLicense(licenseId: string | number) {
export function getNeLicense(coreUid: string, id: string | number) {
return request({
url: `/ne/license/${licenseId}`,
url: `/ne/license`,
method: 'GET',
params: { coreUid, id },
});
}
/**
* 网元neType和neID查询
* @param neType 网元类型
* @param neId 网元ID
* @param neUid 网元ID
* @returns object
*/
export function getNeLicenseByTypeAndID(neType: string, neId: string) {
export function getNeLicenseByNF(coreUid: string, neUid: string) {
return request({
url: `/ne/license/byTypeAndID`,
url: `/ne/license/nf`,
method: 'GET',
params: { neType, neId },
params: { coreUid, neUid },
});
}
@@ -70,14 +71,14 @@ export function changeNeLicense(data: Record<string, any>) {
/**
* 网元授权激活状态
* @param neType 网元类型
* @param neId 网元id
* @param coreUid 核心uid
* @param neUid 网元uid
* @returns object
*/
export function stateNeLicense(neType: string, neId: string) {
export function stateNeLicense(coreUid: string, neUid: string) {
return request({
url: `/ne/license/state`,
method: 'GET',
params: { neType, neId },
params: { coreUid, neUid },
});
}