| | |
| | | ReceiveAddr string `json:"ReceiveAddr" binding:"required"` |
| | | ReportInterval int `json:"ReportInterval" binding:"required"` |
| | | Reason string `json:"Reason" binding:"required"` |
| | | OperateType int `json:"OperateType" ` // 0:订阅;1:取消订阅 |
| | | SubscribeStatus int `json:"SubscribeStatus" ` // 0:订阅中 1:已取消订阅 2:订阅到期 9:未订阅 |
| | | SubscribeCancelOrg string `json:"SubscribeCancelOrg"` // 仅在取消订阅时使用 |
| | | SubscribeCancelPerson string `json:"SubscribeCancelPerson"` // 仅在取消订阅时使用 |
| | | CancelTime string `json:"CancelTime"` // 仅在取消订阅时使用 |
| | | CancelReason string `json:"CancelReason"` // 仅在取消订阅时使用 |
| | | OperateType int `json:"OperateType" ` // 0:订阅;1:取消订阅 |
| | | SubscribeStatus int `json:"SubscribeStatus" ` // 0:订阅中 1:已取消订阅 2:订阅到期 9:未订阅 |
| | | ResourceClass int `json:"ResourceClass" ` // |
| | | ResultImageDeclare string `json:"ResultImageDeclare" ` // 对应subImage 的 type, -1 不传 |
| | | ResultFeatureDeclare int `json:"ResultFeatureDeclare" ` // |
| | | SubscribeCancelOrg string `json:"SubscribeCancelOrg,omitempty"` // 仅在取消订阅时使用 |
| | | SubscribeCancelPerson string `json:"SubscribeCancelPerson,omitempty"` // 仅在取消订阅时使用 |
| | | CancelTime string `json:"CancelTime,omitempty"` // 仅在取消订阅时使用 |
| | | CancelReason string `json:"CancelReason,omitempty"` // 仅在取消订阅时使用 |
| | | } |
| | | |
| | | func (s *Subscribe) Scan(value interface{}) error { |