Documentation ¶
Overview ¶
* @Author: i@rysa.cn * @Date: 2022-05-14 16:37:00 * @LastEditTime: 2022-05-14 16:37:03 * @LastEditors: i@rysa.cn * @Description: * @FilePath: \go-utils\wechat\mp\params\access_token.go
* @Author: i@rysa.cn * @Date: 2022-06-02 16:04:48 * @LastEditTime: 2022-06-02 16:07:11 * @LastEditors: i@rysa.cn * @Description: * @FilePath: \go-utils\wechat\mp\params\mp_msg.go
* @Author: i@rysa.cn * @Date: 2022-05-14 16:37:54 * @LastEditTime: 2022-05-14 16:38:01 * @LastEditors: i@rysa.cn * @Description: * @FilePath: \go-utils\wechat\mp\params\openapi.go
* @Author: i@rysa.cn * @Date: 2022-05-14 16:38:13 * @LastEditTime: 2022-06-02 15:27:08 * @LastEditors: i@rysa.cn * @Description: * @FilePath: \go-utils\wechat\mp\params\params.go
* @Author: i@rysa.cn * @Date: 2022-05-14 16:38:26 * @LastEditTime: 2022-05-14 16:38:28 * @LastEditors: i@rysa.cn * @Description: * @FilePath: \go-utils\wechat\mp\params\serve.go
* @Author: i@rysa.cn * @Date: 2022-05-14 16:38:39 * @LastEditTime: 2022-05-14 16:38:42 * @LastEditors: i@rysa.cn * @Description: * @FilePath: \go-utils\wechat\mp\params\sns.go
* @Author: i@rysa.cn * @Date: 2022-06-02 15:11:15 * @LastEditTime: 2022-06-02 16:15:32 * @LastEditors: i@rysa.cn * @Description: * @FilePath: \go-utils\wechat\mp\params\template_msg.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type CheckQuota ¶
type CheckRid ¶
type CheckRid struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` Request RidRequest `json:"request"` }
type JsapiSignature ¶
type JsapiTicket ¶
type MpMsg ¶
type MpMsg struct { XMLName struct{} `xml:"xml" json:"-"` ToUserName string `xml:"ToUserName"` FromUserName string `xml:"FromUserName"` CreateTime int64 `xml:"CreateTime"` MsgType string `xml:"MsgType"` MsgId int64 `xml:"MsgId,omitempty"` //text Content string `xml:"Content,omitempty"` // image PicUrl string `xml:"PicUrl,omitempty"` MediaId string `xml:"MediaId,omitempty"` // voice Format string `xml:"Format,omitempty"` // 语音识别 Recognition string `xml:"Recognition,omitempty"` // video / shortvideo ThumbMediaId string `xml:"ThumbMediaId,omitempty"` // location Location_X string `xml:"Location_X,omitempty"` Location_Y string `xml:"Location_Y,omitempty"` Scale string `xml:"Scale,omitempty"` Label string `xml:"Label,omitempty"` // link Title string `xml:"Title,omitempty"` Description string `xml:"Description,omitempty"` Url string `xml:"Url,omitempty"` // event subscribe unsubscribe SCAN LOCATION CLICK Event string `xml:"Event,omitempty"` EventKey string `xml:"EventKey,omitempty"` Ticket string `xml:"Ticket,omitempty"` Latitude string `xml:"Latitude,omitempty"` Longitude string `xml:"Longitude,omitempty"` Precision string `xml:"Precision,omitempty"` }
type RidRequest ¶
type SnsBaseInfo ¶
type SnsUserInfo ¶
type SnsUserInfo struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` Openid string `json:"openid"` Nickname string `json:"nickname"` Sex *int `json:"sex"` Province string `json:"province"` City string `json:"city"` Country string `json:"country"` Headimgurl string `json:"headimgurl"` Privilege string `json:"privilege"` Unionid string `json:"unionid"` }
type TemplateMsgItem ¶
type TemplateMsgMiniprogram ¶
type TemplateMsgParams ¶
type TemplateMsgParams struct { Touser string `json:"touser"` //openid TemplateId string `json:"template_id"` Url string `json:"url"` Miniprogram TemplateMsgMiniprogram `json:"miniprogram"` Data map[string]TemplateMsgItem `json:"data"` }