You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
540 B
22 lines
540 B
package handle
|
|
|
|
import (
|
|
"WechatGateWay/global"
|
|
"WechatGateWay/third_part"
|
|
"fmt"
|
|
"net/http"
|
|
)
|
|
|
|
func replyImage(msgContent MsgContent, timestamp, nonce string, w http.ResponseWriter) {
|
|
fmt.Println(msgContent.ToUsername)
|
|
fmt.Println(msgContent.FromUsername)
|
|
fmt.Println(msgContent.CreateTime)
|
|
fmt.Println(msgContent.MsgType)
|
|
fmt.Println(msgContent.Content)
|
|
fmt.Println(msgContent.Msgid)
|
|
fmt.Println(msgContent.Agentid)
|
|
|
|
fmt.Println(global.WechatAccessToken)
|
|
third_part.SendPicFile(msgContent.FromUsername, "/app/data/ygg.jpg")
|
|
}
|