package model type NotifyMsg struct { Openid string //用户id Remark string //消息内容,其他属性待加 Result string // Detail string // Title string Url string Date string Service string Color string DetailColor string TplId string } type RpcResult string //红包 type BonusMsg struct { Mchbillno string `json:"mch_billno"` //订单号 Sendname string `json:"send_name"` //红包发送者名称 Reopenid string `json:"re_openid"` //接受人openid Totalamount int `json:"total_amount"` //金额,单位分 Totalnum int `json:"total_num"` //发放总人数 Wishing string `json:"wishing"` //祝福语128字以内 Actname string `json:"act_name"` //活动名称 Remark string `json:"remark"` //说明 } type Article struct { Title string `json:"title"` Description string `json:"description"` PicUrl string `json:"picurl"` Url string `json:"url"` } type News struct { ToUser string //用户id Articles []Article } type CustomMsg struct { Url string Data map[string]interface{} } type TmplItem struct { Value string `json:"value,omitempty"` Color string `json:"color,omitempty"` } type WxTmplMsg struct { OpenId string //用户id Url string TplId string TmplData map[string]*TmplItem }