sync: 同步 v1.0.4 开源代码并脱敏
This commit is contained in:
@@ -101,7 +101,7 @@ type QuerySimBatchCard struct {
|
||||
|
||||
// QuerySimStatusBatchParam 批量卡状态查询入参
|
||||
type QuerySimStatusBatchParam struct {
|
||||
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
|
||||
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
|
||||
Cards []QuerySimBatchCard `json:"cards" v:"required#查询卡不能为空" dc:"查询卡列表"`
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ type QuerySimStatusBatchParam struct {
|
||||
type QuerySimStatusBatchItem struct {
|
||||
Matched bool `json:"matched"`
|
||||
Iccid string `json:"iccid,omitempty"`
|
||||
LifeCycle int `json:"lifeCycle"` // 卡状态编码(平台内部枚举)
|
||||
LifeCycle int `json:"lifeCycle"` // 卡状态编码(平台内部枚举)
|
||||
LifeCycleName string `json:"lifeCycleName,omitempty"`
|
||||
ErrorCode string `json:"errorCode,omitempty"`
|
||||
ErrorMessage string `json:"errorMessage,omitempty"`
|
||||
@@ -125,7 +125,7 @@ type QuerySimStatusBatchOutput struct {
|
||||
|
||||
// QuerySimUsageBatchParam 批量流量查询入参
|
||||
type QuerySimUsageBatchParam struct {
|
||||
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
|
||||
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
|
||||
Cards []QuerySimBatchCard `json:"cards" v:"required#查询卡不能为空" dc:"查询卡列表"`
|
||||
}
|
||||
|
||||
@@ -133,8 +133,8 @@ type QuerySimUsageBatchParam struct {
|
||||
type QuerySimUsageBatchItem struct {
|
||||
Matched bool `json:"matched"`
|
||||
Iccid string `json:"iccid,omitempty"`
|
||||
UseUnit string `json:"useUnit"` // 流量单位,固定为 MB
|
||||
UseAmount float64 `json:"useAmount"` // 当前周期已用流量,单位 MB
|
||||
UseUnit string `json:"useUnit"` // 流量单位,固定为 MB
|
||||
UseAmount float64 `json:"useAmount"` // 当前周期已用流量,单位 MB
|
||||
ErrorCode string `json:"errorCode,omitempty"`
|
||||
ErrorMessage string `json:"errorMessage,omitempty"`
|
||||
}
|
||||
@@ -151,7 +151,7 @@ type QuerySimUsageBatchOutput struct {
|
||||
|
||||
// QuerySimImeiBatchParam 批量 IMEI 查询入参(与 sim-status-batch / sim-usage-batch 同构)
|
||||
type QuerySimImeiBatchParam struct {
|
||||
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
|
||||
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
|
||||
Cards []QuerySimBatchCard `json:"cards" v:"required#查询卡不能为空" dc:"查询卡列表"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user