|
|
@@ -8,10 +8,10 @@ import ( |
|
|
|
) |
|
|
|
|
|
|
|
type ReqWxMessage struct { |
|
|
|
AppId string `json:"AppId"` |
|
|
|
FromUserName string `json:"CreateTime"` |
|
|
|
InfoType string `json:"InfoType"` |
|
|
|
ComponentVerifyTicket string `json:"ComponentVerifyTicket"` // text | image | voice | shortvideo | location |
|
|
|
AppID string `xml:"AppId"` |
|
|
|
CreateTime int64 `xml:"CreateTime"` |
|
|
|
InfoType string `xml:"InfoType"` |
|
|
|
ComponentVerifyTicket string `xml:"ComponentVerifyTicket"` |
|
|
|
} |
|
|
|
|
|
|
|
func SetTicket(c *gin.Context) { |
|
|
|