statistics

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Statistics

type Statistics struct {
	ShopId     int64 `json:"shop_id"`     // 门店ID,-1为总统计
	StatisTime int64 `json:"statis_time"` // 统计时间,单位为毫秒
	TotalUser  int   `json:"total_user"`  // 微信连wifi成功人数
	HomepageUV int   `json:"homepage_uv"` // 商家主页访问人数
	NewFans    int   `json:"new_fans"`    // 新增公众号关注人数
	TotalFans  int   `json:"total_fans"`  // 累计公众号关注人数
}

func List

func List(clt *core.Client, shopId int64, beginDate, endDate string) (data []Statistics, err error)

数据统计

shopId     按门店ID搜索,-1为总统计
beginDate: 起始日期时间,格式yyyy-mm-dd,最长时间跨度为30天
endDate:   结束日期时间戳,格式yyyy-mm-dd,最长时间跨度为30天

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL