1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 21:02:25 +08:00

change int32 to int64

This commit is contained in:
wenzl
2017-11-07 17:17:13 +08:00
parent 4202446800
commit ca249f133f

View File

@@ -47,11 +47,11 @@ type DataItem struct {
type resTemplateSend struct {
util.CommonError
MsgID int32 `json:"msgid"`
MsgID int64 `json:"msgid"`
}
//Send 发送模板消息
func (tpl *Template) Send(msg *Message) (msgID int32, err error) {
func (tpl *Template) Send(msg *Message) (msgID int64, err error) {
var accessToken string
accessToken, err = tpl.GetAccessToken()
if err != nil {