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