1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-16 18:52:27 +08:00

增加微信公众号数据统计功能 (#279)

* * fix: 移除代码中的Println

* 增加公众号数据统计

* fix code style
This commit is contained in:
Liangwt
2020-06-14 23:18:09 +08:00
committed by GitHub
parent 2ccc15b050
commit fe31f04640
9 changed files with 1017 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
package datacube
import (
"github.com/silenceper/wechat/v2/officialaccount/context"
)
type reqDate struct {
BeginDate string `json:"begin_date"`
EndDate string `json:"end_date"`
}
//DataCube 数据统计
type DataCube struct {
*context.Context
}
//NewCube 数据统计
func NewCube(context *context.Context) *DataCube {
dataCube := new(DataCube)
dataCube.Context = context
return dataCube
}