fetch(add): 运营商管理
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m23s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m23s
This commit is contained in:
@@ -79,13 +79,21 @@ export class CardService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据ICCID获取单卡信息
|
||||
* 根据ICCID获取单卡信息(旧接口,用于现有功能)
|
||||
* @param iccid ICCID
|
||||
*/
|
||||
static getCardByIccid(iccid: string): Promise<BaseResponse<Card>> {
|
||||
return this.getOne<Card>(`/api/cards/iccid/${iccid}`)
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过ICCID查询单卡详情(新接口,用于单卡查询页面)
|
||||
* @param iccid ICCID
|
||||
*/
|
||||
static getIotCardDetailByIccid(iccid: string): Promise<BaseResponse<any>> {
|
||||
return this.getOne<any>(`/api/admin/iot-cards/by-iccid/${iccid}`)
|
||||
}
|
||||
|
||||
/**
|
||||
* 网卡操作(充值、停复机、增减流量等)
|
||||
* @param params 操作参数
|
||||
|
||||
Reference in New Issue
Block a user