mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-12 16:52:28 +08:00
增加注册审核事件推送消息 (#487)
* 消息类型增加快速注册企业小程序回调参数 * 代码格式化 * 更改常量名称 * 更改注解 Co-authored-by: 高震 <gaozhen@gaozhendeMacBook-Pro.local>
This commit is contained in:
@@ -86,6 +86,8 @@ const (
|
|||||||
InfoTypeUnauthorized = "unauthorized"
|
InfoTypeUnauthorized = "unauthorized"
|
||||||
// InfoTypeUpdateAuthorized 更新授权
|
// InfoTypeUpdateAuthorized 更新授权
|
||||||
InfoTypeUpdateAuthorized = "updateauthorized"
|
InfoTypeUpdateAuthorized = "updateauthorized"
|
||||||
|
// InfoTypeNotifyThirdFasterRegister 注册审核事件推送
|
||||||
|
InfoTypeNotifyThirdFasterRegister = "notify_third_fasteregister"
|
||||||
)
|
)
|
||||||
|
|
||||||
// MixMessage 存放所有微信发送过来的消息和事件
|
// MixMessage 存放所有微信发送过来的消息和事件
|
||||||
@@ -150,6 +152,15 @@ type MixMessage struct {
|
|||||||
AuthorizationCode string `xml:"AuthorizationCode"`
|
AuthorizationCode string `xml:"AuthorizationCode"`
|
||||||
AuthorizationCodeExpiredTime int64 `xml:"AuthorizationCodeExpiredTime"`
|
AuthorizationCodeExpiredTime int64 `xml:"AuthorizationCodeExpiredTime"`
|
||||||
PreAuthCode string `xml:"PreAuthCode"`
|
PreAuthCode string `xml:"PreAuthCode"`
|
||||||
|
AuthCode string `xml:"auth_code"`
|
||||||
|
Info struct {
|
||||||
|
Name string `xml:"name"`
|
||||||
|
Code string `xml:"code"`
|
||||||
|
CodeType int `xml:"code_type"`
|
||||||
|
LegalPersonaWechat string `xml:"legal_persona_wechat"`
|
||||||
|
LegalPersonaName string `xml:"legal_persona_name"`
|
||||||
|
ComponentPhone string `xml:"component_phone"`
|
||||||
|
} `xml:"info"`
|
||||||
|
|
||||||
// 卡券相关
|
// 卡券相关
|
||||||
CardID string `xml:"CardId"`
|
CardID string `xml:"CardId"`
|
||||||
|
|||||||
Reference in New Issue
Block a user