feat: 产品迭代7月份
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 5m51s

This commit is contained in:
luo
2026-07-27 16:30:29 +08:00
parent cc6fc9243e
commit f0a2b84e53
75 changed files with 2926 additions and 534 deletions

View File

@@ -36,7 +36,10 @@ import type {
AssetAllocationRecordDetail,
BatchSetCardSeriesBindingRequest,
BatchSetCardSeriesBindingResponse,
BatchUpdateAssetRealnamePolicyRequest
BatchUpdateAssetRealnamePolicyRequest,
BatchUpdateAssetRealnamePolicyResponse,
SpeedTierCode,
SetSpeedTierResponse
} from '@/types/api'
type ApiQueryParams = PaginationParams & Record<string, unknown>
@@ -57,6 +60,15 @@ interface CardChangeNotice {
}
export class CardService extends BaseService {
static setSpeedTier(
iccid: string,
code: SpeedTierCode
): Promise<BaseResponse<SetSpeedTierResponse>> {
return this.put<BaseResponse<SetSpeedTierResponse>>(
`/api/admin/iot-cards/${encodeURIComponent(iccid)}/speed-tier`,
{ code }
)
}
// ========== 号卡商品管理 ==========
/**
@@ -418,8 +430,8 @@ export class CardService extends BaseService {
static batchUpdateRealnamePolicy(
data: BatchUpdateAssetRealnamePolicyRequest,
config?: Record<string, any>
): Promise<BaseResponse<void>> {
return this.post<BaseResponse<void>>(
): Promise<BaseResponse<BatchUpdateAssetRealnamePolicyResponse>> {
return this.post<BaseResponse<BatchUpdateAssetRealnamePolicyResponse>>(
'/api/admin/iot-cards/batch-update-realname-policy',
data,
config