sync: 对齐小程序 v1.0.2 生产代码并脱敏
This commit is contained in:
@@ -34,6 +34,7 @@ type AppDiagnosisInfoModel struct {
|
||||
// AppDiagnosisModuleItem 诊断模块状态,保持与控制台智能诊断一致。
|
||||
type AppDiagnosisModuleItem struct {
|
||||
Status string `json:"status" dc:"状态:success/error/cached/skipped"`
|
||||
Reason string `json:"reason,omitempty" dc:"展示原因:not_subscribed/unsupported/no_data/query_error"`
|
||||
Message string `json:"message,omitempty" dc:"状态说明"`
|
||||
Cached bool `json:"cached,omitempty" dc:"是否使用缓存"`
|
||||
UpdatedAt string `json:"updatedAt,omitempty" dc:"缓存更新时间"`
|
||||
@@ -41,14 +42,18 @@ type AppDiagnosisModuleItem struct {
|
||||
|
||||
// AppDiagnosisFlowModel 对齐控制台诊断流量响应。
|
||||
type AppDiagnosisFlowModel struct {
|
||||
Times []string `json:"times" dc:"时间列表"`
|
||||
Flow []float64 `json:"flow" dc:"流量列表"`
|
||||
Unit string `json:"unit" dc:"流量单位"`
|
||||
Granularity string `json:"granularity" dc:"粒度:day或month"`
|
||||
HasData bool `json:"hasData" dc:"是否存在流量数据"`
|
||||
Times []string `json:"times" dc:"时间列表"`
|
||||
Flow []float64 `json:"flow" dc:"流量列表"`
|
||||
FlowAvailable []bool `json:"flowAvailable" dc:"各时间点是否存在采集记录"`
|
||||
Unit string `json:"unit" dc:"流量单位"`
|
||||
Granularity string `json:"granularity" dc:"粒度:day或month"`
|
||||
HasData bool `json:"hasData" dc:"是否存在流量数据"`
|
||||
}
|
||||
|
||||
type AppDiagnosisInfoItem struct {
|
||||
DataServiceSource string `json:"dataServiceSource" dc:"数据服务依据:apn或network_block"`
|
||||
NetBlockStatus *string `json:"netBlockStatus" dc:"断网状态:0未断网 1已断网"`
|
||||
NetBlockReason *string `json:"netBlockReason" dc:"断网原因"`
|
||||
Iccid *string `json:"iccid" dc:"ICCID"`
|
||||
Imsi *string `json:"imsi" dc:"IMSI"`
|
||||
Msisdn *string `json:"msisdn" dc:"MSISDN/卡号"`
|
||||
|
||||
Reference in New Issue
Block a user