This commit is contained in:
@@ -200,6 +200,7 @@ func (s *Service) buildDeviceResolveResponse(ctx context.Context, device *model.
|
||||
CarrierType: c.CarrierType,
|
||||
CarrierName: c.CarrierName,
|
||||
RealnamePolicy: c.RealnamePolicy,
|
||||
GatewayExtend: c.GatewayExtend,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -255,6 +256,7 @@ func (s *Service) buildCardResolveResponse(ctx context.Context, card *model.IotC
|
||||
RealNameAt: card.FirstRealnameAt,
|
||||
RealnamePolicy: card.RealnamePolicy,
|
||||
NetworkStatus: card.NetworkStatus,
|
||||
GatewayExtend: card.GatewayExtend,
|
||||
ICCID: card.ICCID,
|
||||
CarrierID: card.CarrierID,
|
||||
CarrierType: card.CarrierType,
|
||||
@@ -353,6 +355,7 @@ func (s *Service) GetRealtimeStatus(ctx context.Context, assetType string, id ui
|
||||
return nil, errors.Wrap(errors.CodeNotFound, err, "卡不存在")
|
||||
}
|
||||
resp.NetworkStatus = card.NetworkStatus
|
||||
resp.GatewayExtend = card.GatewayExtend
|
||||
resp.RealNameStatus = card.RealNameStatus
|
||||
resp.CurrentMonthUsageMB = card.CurrentMonthUsageMB
|
||||
resp.LastGatewayReadingMB = card.LastGatewayReadingMB
|
||||
@@ -389,6 +392,7 @@ func (s *Service) GetRealtimeStatus(ctx context.Context, assetType string, id ui
|
||||
CarrierType: c.CarrierType,
|
||||
CarrierName: c.CarrierName,
|
||||
RealnamePolicy: c.RealnamePolicy,
|
||||
GatewayExtend: c.GatewayExtend,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user