|
|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package handle
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"WechatGateWay/global"
|
|
|
|
|
"WechatGateWay/third_part"
|
|
|
|
|
"fmt"
|
|
|
|
|
"net/http"
|
|
|
|
|
@ -16,6 +15,6 @@ func replyImage(msgContent MsgContent, timestamp, nonce string, w http.ResponseW
|
|
|
|
|
fmt.Println(msgContent.Msgid)
|
|
|
|
|
fmt.Println(msgContent.Agentid)
|
|
|
|
|
|
|
|
|
|
fmt.Println(global.WechatAccessToken)
|
|
|
|
|
third_part.SendTextPost(msgContent.ToUsername, "你好")
|
|
|
|
|
third_part.SendPicFile(msgContent.FromUsername, "/app/data/ygg.jpg")
|
|
|
|
|
}
|
|
|
|
|
|