1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-13 17:22:26 +08:00

群发消息接口 (#259)

* 添加TODO:待完善接口

* 【模板消息】将message.DataItem改为message.TemplateDataItem

* 【群发消息】基本框架

* 群发消息-基本方法

* fix golint

* fix:SendWxCard log
This commit is contained in:
silenceper
2020-05-29 23:17:04 +08:00
committed by GitHub
parent 880ab20a6b
commit 5e8e16444c
10 changed files with 363 additions and 17 deletions

1
cache/redis_test.go vendored
View File

@@ -10,6 +10,7 @@ func TestRedis(t *testing.T) {
Host: "127.0.0.1:6379",
}
redis := NewRedis(opts)
redis.SetConn(redis.conn)
var err error
timeoutDuration := 1 * time.Second