增加当日统计接口

This commit is contained in:
GoEdgeLab
2022-04-07 19:46:50 +08:00
parent cc1e806cee
commit c12c9b08f7
3 changed files with 67 additions and 0 deletions

View File

@@ -564,6 +564,12 @@ func (this *APINode) registerServices(server *grpc.Server) {
this.rest(instance)
}
{
instance := this.serviceInstance(&services.TrafficDailyStatService{}).(*services.TrafficDailyStatService)
pb.RegisterTrafficDailyStatServiceServer(server, instance)
this.rest(instance)
}
APINodeServicesRegister(this, server)
// TODO check service names