This commit is contained in:
@@ -23,7 +23,9 @@ import type {
|
||||
ImportIotCardRequest,
|
||||
ImportIotCardResponse,
|
||||
IotCardImportTask,
|
||||
IotCardImportTaskDetail
|
||||
IotCardImportTaskDetail,
|
||||
BatchSetCardSeriesBindingRequest,
|
||||
BatchSetCardSeriesBindingResponse
|
||||
} from '@/types/api'
|
||||
|
||||
export class CardService extends BaseService {
|
||||
@@ -360,11 +362,13 @@ export class CardService extends BaseService {
|
||||
* 批量设置卡的套餐系列绑定
|
||||
* @param data 请求参数
|
||||
*/
|
||||
static batchSetCardSeriesBinding(data: {
|
||||
iccids: string[]
|
||||
series_id: number
|
||||
}): Promise<BaseResponse<any>> {
|
||||
return this.patch('/api/admin/iot-cards/series-binding', data)
|
||||
static batchSetCardSeriesBinding(
|
||||
data: BatchSetCardSeriesBindingRequest
|
||||
): Promise<BaseResponse<BatchSetCardSeriesBindingResponse>> {
|
||||
return this.patch<BaseResponse<BatchSetCardSeriesBindingResponse>>(
|
||||
'/api/admin/iot-cards/series-binding',
|
||||
data
|
||||
)
|
||||
}
|
||||
|
||||
// ========== IoT卡网关操作相关 ==========
|
||||
|
||||
Reference in New Issue
Block a user