feat: 套餐分层级
This commit is contained in:
@@ -104,7 +104,8 @@ export class AssetService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询该资产所有套餐记录,含虚流量换算字段(分页)
|
||||
* 查询该资产的历史套餐关系组(主套餐—加油包,分页)
|
||||
* total 仅统计顶层关系组,子项由后端随父项一起返回。
|
||||
* GET /api/admin/assets/:identifier/packages?page=1&page_size=50
|
||||
* @param identifier 资产标识符(ICCID 或 VirtualNo)
|
||||
* @param params 查询参数(可选分页参数)
|
||||
@@ -115,12 +116,7 @@ export class AssetService extends BaseService {
|
||||
): Promise<BaseResponse<AssetPackageListResponse>> {
|
||||
return this.get<BaseResponse<AssetPackageListResponse>>(
|
||||
`/api/admin/assets/${identifier}/packages`,
|
||||
params,
|
||||
{
|
||||
requestOptions: {
|
||||
show404Error: false // 404时不显示错误提示
|
||||
}
|
||||
}
|
||||
params
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user