push.go 666 字节
package domain

import "encoding/json"

/*PushInfo 推送信息*/
type PushInfoRequest struct {
	Type        int             `json:"msgType"`
	DeviceToken json.RawMessage `json:"deviceToken" `
	ClientId    json.RawMessage `json:"clientId"`
	AppKey      string          `json:"appKey" valid:"Required"`
	Secret      string          `json:"secret" valid:"Required"`
	AppId       string          `json:"appId" valid:"Required"`

	Title   string                 `json:"title" valid:"Required"`
	Content string                 `json:"content" valid:"Required"`
	Ext     map[string]interface{} `json:"ext"` //key->transData:透传数据
}
type PushInfoResponse struct {
}