parent
6730064254
commit
616507bfcc
@ -1,14 +1,10 @@
|
||||
package handle
|
||||
|
||||
import (
|
||||
"WechatGateWay/global"
|
||||
"WechatGateWay/third_part"
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func replyImage(msgContent MsgContent, timestamp, nonce string, w http.ResponseWriter) {
|
||||
fmt.Println(global.WechatAccessToken)
|
||||
third_part.SendTextPost(msgContent.ToUsername, "你好")
|
||||
third_part.SendPicFile(msgContent.FromUsername, "/app/data/ygg.jpg")
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue