mirror of
https://github.com/silenceper/wechat.git
synced 2026-11-16 05:12:03 +08:00
增加微信公众号数据统计功能 (#279)
* * fix: 移除代码中的Println * 增加公众号数据统计 * fix code style
This commit is contained in:
1 parent
2ccc15b050
commit
fe31f04640
9 files changed
+1017
-2
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user