feat: 新增全部已使用流量和全部总流量字段
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m30s

This commit is contained in:
luo
2026-07-03 12:03:52 +08:00
parent 99de03604d
commit acda0d82c8
10 changed files with 155 additions and 5 deletions

View File

@@ -11,6 +11,7 @@ import {
} from '@/utils/business/apiRateLimit'
import type {
BaseResponse,
AssetResolveParams,
AssetResolveResponse,
AssetRealtimeStatusResponse,
AssetRefreshResponse,
@@ -49,9 +50,13 @@ export class AssetService extends BaseService {
* 支持虚拟号、ICCID、IMEI、SN、MSISDN
* GET /api/admin/assets/resolve/:identifier
* @param identifier 资产标识符虚拟号、ICCID、IMEI、SN、MSISDN
* @param params 查询参数
*/
static resolveAsset(identifier: string): Promise<BaseResponse<AssetResolveResponse>> {
return this.getOne<AssetResolveResponse>(`/api/admin/assets/resolve/${identifier}`)
static resolveAsset(
identifier: string,
params?: AssetResolveParams
): Promise<BaseResponse<AssetResolveResponse>> {
return this.getOne<AssetResolveResponse>(`/api/admin/assets/resolve/${identifier}`, params)
}
/**