diff --git a/internal/handler/app/client_device.go b/internal/handler/app/client_device.go index 4713d26..b71a4ba 100644 --- a/internal/handler/app/client_device.go +++ b/internal/handler/app/client_device.go @@ -161,6 +161,7 @@ func (h *ClientDeviceHandler) GetDeviceCards(c *fiber.Ctx) error { CardID: card.ID, ICCID: card.ICCID, MSISDN: card.MSISDN, + CarrierType: card.CarrierType, CarrierName: card.CarrierName, NetworkStatus: networkStatusText(card.NetworkStatus), RealNameStatus: card.RealNameStatus, diff --git a/internal/model/dto/client_realname_device_dto.go b/internal/model/dto/client_realname_device_dto.go index e2750ac..b779bfe 100644 --- a/internal/model/dto/client_realname_device_dto.go +++ b/internal/model/dto/client_realname_device_dto.go @@ -39,6 +39,7 @@ type DeviceCardItem struct { CardID uint `json:"card_id" description:"卡ID"` ICCID string `json:"iccid" description:"物联网卡ICCID"` MSISDN string `json:"msisdn" description:"手机号"` + CarrierType string `json:"carrier_type" description:"运营商类型(CMCC/CUCC/CTCC/CBN)"` CarrierName string `json:"carrier_name" description:"运营商名称"` NetworkStatus string `json:"network_status" description:"网络状态"` RealNameStatus int `json:"real_name_status" description:"实名状态 (0:未实名, 1:已实名)"`