You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
526 B
21 lines
526 B
package v1 |
|
|
|
// PushRegisterRequest . |
|
type PushRegisterRequest struct { |
|
RegID string `json:"register_id" form:"register_id" validate:"required"` |
|
Platform string `json:"platform" form:"platform" validate:"required"` |
|
SDK uint8 `json:"sdk" form:"sdk"` |
|
} |
|
|
|
// PushRegisterResponse . |
|
type PushRegisterResponse struct{} |
|
|
|
// PushCallbackRequest . |
|
type PushCallbackRequest struct { |
|
Base |
|
TID string `json:"tid" form:"tid"` |
|
NID string `json:"nid" form:"nid"` |
|
} |
|
|
|
// PushCallbackResponse . |
|
type PushCallbackResponse struct{}
|
|
|