Documentation ¶
Index ¶
- Constants
- type Event
- type EventAnnualRenew
- type EventCardNotPassChecke
- type EventCardPassChecke
- type EventCardPayOrder
- type EventCardSkuRemind
- type EventGuideQrcodeScan
- type EventLocation
- type EventMenuClick
- type EventMenuLocationSelect
- type EventMenuPicSysPhoto
- type EventMenuPicSysPhotoOrAlbum
- type EventMenuPicWeixin
- type EventMenuScanCodePush
- type EventMenuScanCodeWaitMsg
- type EventMenuView
- type EventMenuViewMiniprogram
- type EventNamingVerifyFail
- type EventNamingVerifySuccess
- type EventQualificationVerifyFail
- type EventQualificationVerifySuccess
- type EventScan
- type EventSubmitMembercardUserInfo
- type EventSubscribe
- type EventTemplateSendJobFinish
- type EventUnsubscribe
- type EventUpdateMemberCard
- type EventUserConsumeCard
- type EventUserDelCard
- type EventUserEnterSessionFromCard
- type EventUserGetCard
- type EventUserGiftingCard
- type EventUserPayFromPayCell
- type EventUserViewCard
- type EventVerifyExpired
Constants ¶
const ( EventTypeCardPassChecke = "card_pass_check" // 卡券通过审核 EventTypeCardNotPassChecke = "card_not_pass_check" // 卡券未通过审核 EventTypeUserGetCard = "user_get_card" // 领取事件推送 EventTypeUserGiftingCard = "user_gifting_card" // 转赠事件推送 EventTypeUserDelCard = "user_del_card" // 删除事件推送 EventTypeUserConsumeCard = "user_consume_card" // 核销事件推送 EventTypeUserPayFromPayCell = "user_pay_from_pay_cell" // 买单事件推送 EventTypeUserViewCard = "user_view_card" // 进入会员卡事件推送 EventTypeUserEnterSessionFromCard = "user_enter_session_from_card" // 从卡券进入公众号会话事件推送 EventTypeUpdateMemberCard = "update_member_card" // 会员卡内容更新事件 EventTypeCardSkuRemind = "card_sku_remind" // 库存报警事件 EventTypeCardPayOrder = "card_pay_order" // 券点流水详情事件 EventTypeSubmitMembercardUserInfo = "submit_membercard_user_info" // 会员卡激活事件推送 )
const ( EventTypeSubscribe = "subscribe" // 关注 EventTypeUnsubscribe = "unsubscribe" // 取关 EventTypeScan = "SCAN" // 已关注用户 扫码 EventTypeLocation = "LOCATION" // 上报位置 )
const ( EventTypeMenuClick = "CLICK" // 点击菜单拉取消息时的事件推送 EventTypeMenuView = "VIEW" // 点击菜单跳转链接时的事件推送 EventTypeMenuScanCodePush = "scancode_push" // 扫码推事件的事件推送 EventTypeMenuScanCodeWaitMsg = "scancode_waitmsg" // 扫码推事件且弹出“消息接收中”提示框的事件推送 EventTypeMenuPicSysPhoto = "pic_sysphoto" // 弹出系统拍照发图的事件推送 EventTypeMenuPicSysPhotoOrAlbum = "pic_photo_or_album" // 弹出拍照或者相册发图的事件推送 EventTypeMenuPicWeixin = "pic_weixin" // 弹出微信相册发图器的事件推送 EventTypeMenuLocationSelect = "location_select" // 弹出地理位置选择器的事件推送 EventTypeMenuViewMiniprogram = "view_miniprogram" // 点击菜单跳转小程序的事件推送 )
const ( EventTypeQualificationVerifySuccess = "qualification_verify_success" // 资质认证成功 EventTypeQualificationVerifyFail = "qualification_verify_fail" // 资质认证失败 EventTypeNamingVerifySuccess = "naming_verify_success" // 名称认证成功 EventTypeNamingVerifyFail = "naming_verify_fail" // 名称认证失败 EventTypeAnnualRenew = "annual_renew" // 年审通知 EventTypeVerifyExpired = "verify_expired" // 认证过期失效通知审通知 )
const (
EventTypeGuideQrcodeScan = "guide_qrcode_scan_event" // 微信用户扫顾问二维码后会触发事件推送
)
const (
EventTypeTemplateSendJobFinish = "TEMPLATESENDJOBFINISH" // 模版消息发送任务完成
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event type_message.MessageEvent
type EventAnnualRenew ¶
年审通知 <xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[fromUser]]></FromUserName> <CreateTime>1442401004</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[annual_renew]]></Event> <ExpiredTime>1442401004</ExpiredTime>
</xml>
type EventCardNotPassChecke ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[card_not_pass_check]]></Event> //不通过为card_not_pass_check <CardId><![CDATA[cardid]]></CardId> <RefuseReason><![CDATA[非法代制]]></RefuseReason>
</xml>
type EventCardPassChecke ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[card_pass_check]]></Event> //不通过为card_not_pass_check <CardId><![CDATA[cardid]]></CardId> <RefuseReason><![CDATA[非法代制]]></RefuseReason>
</xml>
type EventCardPayOrder ¶
type EventCardPayOrder struct { Event OrderId string `xml:"OrderId"` Status string `xml:"Status"` CreateOrderTime string `xml:"CreateOrderTime"` PayFinishTime string `xml:"PayFinishTime"` Desc string `xml:"Desc"` FreeCoinCount string `xml:"FreeCoinCount"` PayCoinCount string `xml:"PayCoinCount"` RefundFreeCoinCount string `xml:"RefundFreeCoinCount"` RefundPayCoinCount string `xml:"RefundPayCoinCount"` OrderType string `xml:"OrderType"` Memo string `xml:"Memo"` ReceiptInfo string `xml:"ReceiptInfo"` }
<xml>
<ToUserName><![CDATA[gh_7223c83d4be5]]></ToUserName> <FromUserName><![CDATA[ob5E7s-HoN9tslQY3-0I4qmgluHk]]></FromUserName> <CreateTime>1453295737</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[card_pay_order]]></Event> <OrderId><![CDATA[404091456]]></OrderId> <Status><![CDATA[ORDER_STATUS_FINANCE_SUCC]]></Status> <CreateOrderTime>1453295737</CreateOrderTime> <PayFinishTime>0</PayFinishTime> <Desc><![CDATA[]]></Desc> <FreeCoinCount><![CDATA[200]]></FreeCoinCount> <PayCoinCount><![CDATA[0]]></PayCoinCount> <RefundFreeCoinCount><![CDATA[0]]></RefundFreeCoinCount> <RefundPayCoinCount><![CDATA[0]]></RefundPayCoinCount> <OrderType><![CDATA[ORDER_TYPE_SYS_ADD]]></OrderType> <Memo><![CDATA[开通账户奖励]]></Memo> <ReceiptInfo><![CDATA[]]></ReceiptInfo>
</xml>
type EventCardSkuRemind ¶
<xml>
<ToUserName><![CDATA[gh_2d62d*****0]]></ToUserName> <FromUserName><![CDATA[oa3LFuBvWb7*********]]></FromUserName> <CreateTime>1443838506</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[card_sku_remind]]></Event> <CardId><![CDATA[pa3LFuAh2P65**********]]></CardId> <Detail><![CDATA[the card's quantity is equal to 0]]></Detail>
</xml>
type EventGuideQrcodeScan ¶
type EventLocation ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[fromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[LOCATION]]></Event> <Latitude>23.137466</Latitude> <Longitude>113.352425</Longitude> <Precision>119.385040</Precision>
</xml>
type EventMenuClick ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[CLICK]]></Event> <EventKey><![CDATA[EVENTKEY]]></EventKey>
</xml>
type EventMenuLocationSelect ¶
type EventMenuLocationSelect struct { Event EventKey string SendLocationInfo struct { Location_X string Location_Y string Scale string Label string Poiname string } }
<xml><ToUserName><![CDATA[gh_e136c6e50636]]></ToUserName> <FromUserName><![CDATA[oMgHVjngRipVsoxg6TuX3vz6glDg]]></FromUserName> <CreateTime>1408091189</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[location_select]]></Event> <EventKey><![CDATA[6]]></EventKey> <SendLocationInfo><Location_X><![CDATA[23]]></Location_X> <Location_Y><![CDATA[113]]></Location_Y> <Scale><![CDATA[15]]></Scale> <Label><![CDATA[ 广州市海珠区客村艺苑路 106号]]></Label> <Poiname><![CDATA[]]></Poiname> </SendLocationInfo> </xml>
type EventMenuPicSysPhoto ¶
type EventMenuPicSysPhoto struct { Event EventKey string SendPicsInfo struct { Count string PicList struct { Item []struct { PicMd5Sum string } `xml:"item"` } } }
<xml><ToUserName><![CDATA[gh_e136c6e50636]]></ToUserName> <FromUserName><![CDATA[oMgHVjngRipVsoxg6TuX3vz6glDg]]></FromUserName> <CreateTime>1408090651</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[pic_sysphoto]]></Event> <EventKey><![CDATA[6]]></EventKey> <SendPicsInfo><Count>1</Count> <PicList><item><PicMd5Sum><![CDATA[1b5f7c23b5bf75682a53e7b6d163e185]]></PicMd5Sum> </item> </PicList> </SendPicsInfo> </xml>
type EventMenuPicSysPhotoOrAlbum ¶
type EventMenuPicSysPhotoOrAlbum struct { Event EventKey string SendPicsInfo struct { Count string PicList struct { Item []struct { PicMd5Sum string } `xml:"item"` } } }
<xml><ToUserName><![CDATA[gh_e136c6e50636]]></ToUserName> <FromUserName><![CDATA[oMgHVjngRipVsoxg6TuX3vz6glDg]]></FromUserName> <CreateTime>1408090816</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[pic_photo_or_album]]></Event> <EventKey><![CDATA[6]]></EventKey> <SendPicsInfo><Count>1</Count> <PicList><item><PicMd5Sum><![CDATA[5a75aaca956d97be686719218f275c6b]]></PicMd5Sum> </item> </PicList> </SendPicsInfo> </xml>
type EventMenuPicWeixin ¶
type EventMenuPicWeixin struct { Event EventKey string SendPicsInfo struct { Count string PicList struct { Item []struct { PicMd5Sum string } `xml:"item"` } } }
<xml><ToUserName><![CDATA[gh_e136c6e50636]]></ToUserName> <FromUserName><![CDATA[oMgHVjngRipVsoxg6TuX3vz6glDg]]></FromUserName> <CreateTime>1408090816</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[pic_weixin]]></Event> <EventKey><![CDATA[6]]></EventKey> <SendPicsInfo><Count>1</Count> <PicList><item><PicMd5Sum><![CDATA[5a75aaca956d97be686719218f275c6b]]></PicMd5Sum> </item> </PicList> </SendPicsInfo> </xml>
type EventMenuScanCodePush ¶
type EventMenuScanCodePush struct { Event EventKey string ScanCodeInfo struct { ScanType string ScanResult string } }
<xml><ToUserName><![CDATA[gh_e136c6e50636]]></ToUserName> <FromUserName><![CDATA[oMgHVjngRipVsoxg6TuX3vz6glDg]]></FromUserName> <CreateTime>1408090502</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[scancode_push]]></Event> <EventKey><![CDATA[6]]></EventKey> <ScanCodeInfo><ScanType><![CDATA[qrcode]]></ScanType> <ScanResult><![CDATA[1]]></ScanResult> </ScanCodeInfo> </xml>
type EventMenuScanCodeWaitMsg ¶
type EventMenuScanCodeWaitMsg struct { Event EventKey string ScanCodeInfo struct { ScanType string ScanResult string } }
<xml><ToUserName><![CDATA[gh_e136c6e50636]]></ToUserName> <FromUserName><![CDATA[oMgHVjngRipVsoxg6TuX3vz6glDg]]></FromUserName> <CreateTime>1408090606</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[scancode_waitmsg]]></Event> <EventKey><![CDATA[6]]></EventKey> <ScanCodeInfo><ScanType><![CDATA[qrcode]]></ScanType> <ScanResult><![CDATA[2]]></ScanResult> </ScanCodeInfo> </xml>
type EventMenuView ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[VIEW]]></Event> <EventKey><![CDATA[www.qq.com]]></EventKey> <MenuId>MENUID</MenuId>
</xml>
type EventMenuViewMiniprogram ¶
<xml> <ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[view_miniprogram]]></Event> <EventKey><![CDATA[pages/index/index]]></EventKey> <MenuId>MENUID</MenuId> </xml>
type EventNamingVerifyFail ¶
名称认证失败 <xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[fromUser]]></FromUserName> <CreateTime>1442401061</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[naming_verify_fail]]></Event> <FailTime>1442401061</FailTime> <FailReason><![CDATA[by time]]></FailReason>
</xml>
type EventNamingVerifySuccess ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[fromUser]]></FromUserName> <CreateTime>1442401093</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[naming_verify_success]]></Event> <ExpiredTime>1442401093</ExpiredTime>
</xml>
type EventQualificationVerifyFail ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[fromUser]]></FromUserName> <CreateTime>1442401156</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[qualification_verify_fail]]></Event> <FailTime>1442401122</FailTime> <FailReason><![CDATA[by time]]></FailReason>
</xml>
type EventQualificationVerifySuccess ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[fromUser]]></FromUserName> <CreateTime>1442401156</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[qualification_verify_success]]></Event> <ExpiredTime>1442401156</ExpiredTime>
</xml>
type EventScan ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[SCAN]]></Event> <EventKey><![CDATA[SCENE_VALUE]]></EventKey> <Ticket><![CDATA[TICKET]]></Ticket>
</xml>
type EventSubmitMembercardUserInfo ¶
type EventSubmitMembercardUserInfo struct { Event CardId string `xml:"CardId"` UserCardCode string `xml:"UserCardCode"` }
<xml>
<ToUserName> <![CDATA[gh_3fcea188bf78]]></ToUserName> <FromUserName><![CDATA[obLatjlaNQKb8FqOvt1M1x1lIBFE]]></FromUserName> <CreateTime>1432668700</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[submit_membercard_user_info]]></Event> <CardId><![CDATA[pbLatjtZ7v1BG_ZnTjbW85GYc_E8]]></CardId> <UserCardCode><![CDATA[018255396048]]></UserCardCode>
</xml>
type EventSubscribe ¶
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[subscribe]]></Event> <EventKey><![CDATA[qrscene_123123]]></EventKey> <Ticket><![CDATA[TICKET]]></Ticket>
</xml>
type EventTemplateSendJobFinish ¶
<xml>
<ToUserName><![CDATA[gh_7f083739789a]]></ToUserName> <FromUserName><![CDATA[oia2TjuEGTNoeX76QEjQNrcURxG8]]></FromUserName> <CreateTime>1395658920</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[TEMPLATESENDJOBFINISH]]></Event> <MsgID>200163836</MsgID> <Status><![CDATA[success]]></Status>
</xml>
type EventUnsubscribe ¶
type EventUnsubscribe struct {
Event
}
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[unsubscribe]]></Event>
</xml>
type EventUpdateMemberCard ¶
type EventUpdateMemberCard struct { Event CardId string `xml:"CardId"` UserCardCode string `xml:"UserCardCode"` ModifyBonus string `xml:"ModifyBonus"` ModifyBalance string `xml:"ModifyBalance"` }
<xml>
<ToUserName><![CDATA[gh_9e1765b5568e]]></ToUserName> <FromUserName><![CDATA[ojZ8YtyVyr30HheH3CM73y7h4jJE]]></FromUserName> <CreateTime>1445507140</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[update_member_card]]></Event> <CardId><![CDATA[pjZ8Ytx-nwvpCRyQneH3Ncmh6N94]]></CardId> <UserCardCode><![CDATA[485027611252]]></UserCardCode> <ModifyBonus>3</ModifyBonus> <ModifyBalance>0</ModifyBalance>
</xml>
type EventUserConsumeCard ¶
type EventUserConsumeCard struct { Event CardId string `xml:"CardId"` UserCardCode string `xml:"UserCardCode"` ConsumeSource string `xml:"ConsumeSource"` LocationName string `xml:"LocationName"` StaffOpenId string `xml:"StaffOpenId"` VerifyCode string `xml:"VerifyCode"` RemarkAmount string `xml:"RemarkAmount"` OuterStr string `xml:"OuterStr"` }
<xml>
<ToUserName> <![CDATA[gh_fc0a06a20993]]> </ToUserName> <FromUserName> <![CDATA[oZI8Fj040-be6rlDohc6gkoPOQTQ]]> </FromUserName> <CreateTime>1472549042</CreateTime> <MsgType> <![CDATA[event]]> </MsgType> <Event> <![CDATA[user_consume_card]]> </Event> <CardId> <![CDATA[pZI8Fj8y-E8hpvho2d1ZvpGwQBvA]]> </CardId> <UserCardCode> <![CDATA[452998530302]]> </UserCardCode> <ConsumeSource> <![CDATA[FROM_API]]> </ConsumeSource> <LocationName> <![CDATA[]]> </LocationName> <StaffOpenId> <![CDATA[oZ********nJ3bPJu_Rtjkw4c]]> </StaffOpenId> <VerifyCode> <![CDATA[]]> </VerifyCode> <RemarkAmount> <![CDATA[]]> </RemarkAmount> <OuterStr> <![CDATA[xxxxx]]> </OuterStr>
</xml>
type EventUserDelCard ¶
type EventUserDelCard struct { Event CardId string `xml:"CardId"` UserCardCode string `xml:"UserCardCode"` }
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[user_del_card]]></Event> <CardId><![CDATA[cardid]]></CardId> <UserCardCode><![CDATA[12312312]]></UserCardCode>
</xml>
type EventUserEnterSessionFromCard ¶
type EventUserEnterSessionFromCard struct { Event CardId string `xml:"CardId"` UserCardCode string `xml:"UserCardCode"` }
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[FromUser]]></FromUserName> <CreateTime>123456789</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[user_enter_session_from_card]]></Event> <CardId><![CDATA[cardid]]></CardId> <UserCardCode><![CDATA[12312312]]></UserCardCode>
</xml>
type EventUserGetCard ¶
type EventUserGetCard struct { Event CardId string `xml:"CardId"` IsGiveByFriend string `xml:"IsGiveByFriend"` UserCardCode string `xml:"UserCardCode"` FriendUserName string `xml:"FriendUserName"` OuterId string `xml:"OuterId"` OldUserCardCode string `xml:"OldUserCardCode"` OuterStr string `xml:"OuterStr"` IsRestoreMemberCard string `xml:"IsRestoreMemberCard"` IsRecommendByFriend string `xml:"IsRecommendByFriend"` UnionId string `xml:"UnionId"` }
<xml>
<ToUserName> <![CDATA[gh_fc0a06a20993]]> </ToUserName> <FromUserName> <![CDATA[oZI8Fj040-be6rlDohc6gkoPOQTQ]]> </FromUserName> <CreateTime>1472551036</CreateTime> <MsgType> <![CDATA[event]]> </MsgType> <Event> <![CDATA[user_get_card]]> </Event> <CardId> <![CDATA[pZI8Fjwsy5fVPRBeD78J4RmqVvBc]]> </CardId> <IsGiveByFriend>0</IsGiveByFriend> <UserCardCode> <![CDATA[226009850808]]> </UserCardCode> <FriendUserName> <![CDATA[]]> </FriendUserName> <OuterId>0</OuterId> <OldUserCardCode> <![CDATA[]]> </OldUserCardCode> <OuterStr> <![CDATA[12b]]> </OuterStr> <IsRestoreMemberCard>0</IsRestoreMemberCard> <IsRecommendByFriend>0</IsRecommendByFriend> <UnionId>o6_bmasdasdsad6_2sgVt7hMZOPfL</UnionId>
</xml>
type EventUserGiftingCard ¶
type EventUserGiftingCard struct { Event CardId string `xml:"CardId"` UserCardCode string `xml:"UserCardCode"` IsReturnBack string `xml:"IsReturnBack"` FriendUserName string `xml:"FriendUserName"` IsChatRoom string `xml:"IsChatRoom"` }
<xml>
<ToUserName><![CDATA[gh_3fcea188bf78]]></ToUserName> <FromUserName><![CDATA[obLatjjwDolFjRRd3doGIdwNqRXw]]></FromUserName> <CreateTime>1474181868</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[user_gifting_card]]></Event> <CardId><![CDATA[pbLatjhU-3pik3d4PsbVzvBxZvJc]]></CardId> <UserCardCode><![CDATA[297466945104]]></UserCardCode> <IsReturnBack>0</IsReturnBack> <FriendUserName><![CDATA[obLatjlNerkb62HtSdQUx66C4NTU]]></FriendUserName> <IsChatRoom>0</IsChatRoom>
</xml>
type EventUserPayFromPayCell ¶
type EventUserPayFromPayCell struct { Event CardId string `xml:"CardId"` UserCardCode string `xml:"UserCardCode"` TransId string `xml:"TransId"` LocationId string `xml:"LocationId"` Fee string `xml:"Fee"` OriginalFee string `xml:"OriginalFee"` }
<xml>
<ToUserName><![CDATA[gh_e2243xxxxxxx]]></ToUserName> <FromUserName><![CDATA[oo2VNuOUuZGMxxxxxxxx]]></FromUserName> <CreateTime>1442390947</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[user_pay_from_pay_cell]]></Event> <CardId><![CDATA[po2VNuCuRo-8sxxxxxxxxxxx]]></CardId> <UserCardCode><![CDATA[38050000000]]></UserCardCode> <TransId><![CDATA[10022403432015000000000]]></TransId> <LocationId>291710000</LocationId> <Fee><![CDATA[10000]]></Fee> <OriginalFee><![CDATA[10000]]> </OriginalFee>
</xml>
type EventUserViewCard ¶
type EventUserViewCard struct { Event CardId string `xml:"CardId"` UserCardCode string `xml:"UserCardCode"` OuterStr string `xml:"OuterStr"` }
<xml>
<ToUserName> <![CDATA[gh_fcxxxx6a20993]]> </ToUserName> <FromUserName> <![CDATA[oZI8Fj040-xxxxx6gkoPOQTQ]]> </FromUserName> <CreateTime>1467811138</CreateTime> <MsgType> <![CDATA[event]]> </MsgType> <Event> <![CDATA[user_view_card]]> </Event> <CardId> <![CDATA[pZI8Fj2ezBbxxxxxT2UbiiWLb7Bg]]> </CardId> <UserCardCode> <![CDATA[4xxxxxxxx8558]]> </UserCardCode> <OuterStr> <![CDATA[12b]]> </OuterStr>
</xml>
type EventVerifyExpired ¶
认证过期失效通知审通知 <xml>
<ToUserName><![CDATA[toUser]]></ToUserName> <FromUserName><![CDATA[fromUser]]></FromUserName> <CreateTime>1442400900</CreateTime> <MsgType><![CDATA[event]]></MsgType> <Event><![CDATA[verify_expired]]></Event> <ExpiredTime>1442400900</ExpiredTime>
</xml>