You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
806 B

package api
import (
"yunyan/comm"
"yunyan/pb"
)
// GetAppStats 查询App综合统计数据(日/月/年)
//
// 【已停用】App 运营统计整体迁到运营后台:analyze 模块把当日快照经 NATS 推到 console 主库
// stats_global_day,后台读 console 的 api_getstatssummary / api_getstatstrend。
// app 服务侧的 app_stat_daily/monthly/yearly/global 四张表连同写入链路已删除,
// 这里没有可查的数据源,恒定返回空列表。
//
// 路由保留只为老调用方不至于 404;确认无人再调后可连同 pb 定义一起删掉。
func (this *apiComp) GetAppStats(session comm.IUserSession, req *pb.ApiGetAppStatsReq) (resp *pb.ApiGetAppStatsResp, errdata *pb.ErrorData) {
resp = &pb.ApiGetAppStatsResp{Stats: make([]*pb.DBAppStat, 0)}
return
}