feat: 卡/设备是否有生效套餐
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m19s

This commit is contained in:
sexygoat
2026-05-19 15:14:39 +08:00
parent 14832f5c6f
commit 59167d2630
14 changed files with 3792 additions and 3963 deletions

View File

@@ -24,6 +24,8 @@ import type {
ImportIotCardResponse,
IotCardImportTask,
IotCardImportTaskDetail,
StandaloneCardQueryParams,
StandaloneIotCard,
BatchSetCardSeriesBindingRequest,
BatchSetCardSeriesBindingResponse
} from '@/types/api'
@@ -318,8 +320,10 @@ export class CardService extends BaseService {
* 获取单卡列表(未绑定设备)
* @param params 查询参数
*/
static getStandaloneIotCards(params?: any): Promise<PaginationResponse<any>> {
return this.getPage('/api/admin/iot-cards/standalone', params)
static getStandaloneIotCards(
params?: StandaloneCardQueryParams
): Promise<PaginationResponse<StandaloneIotCard>> {
return this.getPage<StandaloneIotCard>('/api/admin/iot-cards/standalone', params)
}
/**