by Robin at 20240428
This commit is contained in:
parent
e8649e1111
commit
442b84a0cd
|
@ -94,6 +94,13 @@ func (s *CronService) CreateDailyStatement(ctx context.Context, param *xxl.RunRe
|
||||||
return fmt.Sprintf("query h5 call count fail : %v", err)
|
return fmt.Sprintf("query h5 call count fail : %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//获取站外user_id访问zone访问量
|
||||||
|
zoneListFromOusideCount, err := DefaultScriptsService.QueryCallCount(consts.ZoneListFromOutsideCountCallUrl, logpath)
|
||||||
|
if err != nil {
|
||||||
|
logger.Error("query list_by_user_id_from_outside call count fail : %v", err)
|
||||||
|
return fmt.Sprintf("query list_by_user_id_from_outside call count fail : %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
//获取用户总量
|
//获取用户总量
|
||||||
accountCount, err := _DefaultAccount.OpCount(&gin.Context{}, &accountproto.OpCountReq{
|
accountCount, err := _DefaultAccount.OpCount(&gin.Context{}, &accountproto.OpCountReq{
|
||||||
CtLowerBound: goproto.Int64(int64(consts.AppEnterProductionTime)),
|
CtLowerBound: goproto.Int64(int64(consts.AppEnterProductionTime)),
|
||||||
|
@ -140,6 +147,7 @@ func (s *CronService) CreateDailyStatement(ctx context.Context, param *xxl.RunRe
|
||||||
LastHourNewUserCountFromAndroid: goproto.Int64(androidCount),
|
LastHourNewUserCountFromAndroid: goproto.Int64(androidCount),
|
||||||
LastHourNewUserCountFromIos: goproto.Int64(iosCount),
|
LastHourNewUserCountFromIos: goproto.Int64(iosCount),
|
||||||
LastHourNewUserCountFromH5: goproto.Int64(h5Count),
|
LastHourNewUserCountFromH5: goproto.Int64(h5Count),
|
||||||
|
ZoneListFromOutsideCount: goproto.Int64(int64(zoneListFromOusideCount)),
|
||||||
StartTime: goproto.Int64(startTimeStamp),
|
StartTime: goproto.Int64(startTimeStamp),
|
||||||
EndTime: goproto.Int64(endTimeStamp),
|
EndTime: goproto.Int64(endTimeStamp),
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ type DailyStatement struct {
|
||||||
LastHourNewUserCountFromAndroid *int64 `json:"last_hour_new_user_count_from_android" bson:"last_hour_new_user_count_from_android"` // 安卓注册总量
|
LastHourNewUserCountFromAndroid *int64 `json:"last_hour_new_user_count_from_android" bson:"last_hour_new_user_count_from_android"` // 安卓注册总量
|
||||||
LastHourNewUserCountFromIos *int64 `json:"last_hour_new_user_count_from_ios" bson:"last_hour_new_user_count_from_ios"` // ios注册总量
|
LastHourNewUserCountFromIos *int64 `json:"last_hour_new_user_count_from_ios" bson:"last_hour_new_user_count_from_ios"` // ios注册总量
|
||||||
LastHourNewUserCountFromH5 *int64 `json:"last_hour_new_user_count_from_h5" bson:"last_hour_new_user_count_from_h5"` // h5注册总量
|
LastHourNewUserCountFromH5 *int64 `json:"last_hour_new_user_count_from_h5" bson:"last_hour_new_user_count_from_h5"` // h5注册总量
|
||||||
|
ZoneListFromOutsideCount *int64 `json:"zone_list_from_outside_count" bson:"zone_list_from_outside_count"` // 站外user_id查询空间总量
|
||||||
StartTime *int64 `json:"start_time" bson:"start_time"` // 起始时间
|
StartTime *int64 `json:"start_time" bson:"start_time"` // 起始时间
|
||||||
EndTime *int64 `json:"end_time" bson:"end_time"` // 结束时间
|
EndTime *int64 `json:"end_time" bson:"end_time"` // 结束时间
|
||||||
Ct *int64 `json:"ct" bson:"ct"` // 创建时间
|
Ct *int64 `json:"ct" bson:"ct"` // 创建时间
|
||||||
|
|
Loading…
Reference in New Issue