go-common/app/interface/bbq/app-bbq/api/http/v1/push.go
2019-04-22 18:49:16 +08:00

22 lines
526 B
Go

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{}