Browse Source

json query int64

ls 4 năm trước cách đây
mục cha
commit
2d1664235d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      wechat/client.go

+ 1 - 1
wechat/client.go

@@ -303,7 +303,7 @@ func (wc Client) SendTemplateMessage(template TemplateMessage) (jq *myth.JSONQue
 }
 
 // TemplateMessageReslut template message reslut
-func (wc Client) TemplateMessageReslut(jq *myth.JSONQuery) (code, id int, err error) {
+func (wc Client) TemplateMessageReslut(jq *myth.JSONQuery) (code int, id int64, err error) {
 	code, _ = jq.Int(`errcode`)
 	errmsg, _ := jq.String(`errmsg`)
 	id, _ = jq.Int64(`msgid`)