增加当日统计接口

This commit is contained in:
GoEdgeLab
2022-04-07 19:46:45 +08:00
parent 12930b9690
commit 494f38077c
2 changed files with 10 additions and 0 deletions

View File

@@ -500,6 +500,10 @@ func (this *RPCClient) UserPlanRPC() pb.UserPlanServiceClient {
return pb.NewUserPlanServiceClient(this.pickConn())
}
func (this *RPCClient) TrafficDailyStatRPC() pb.TrafficDailyStatServiceClient {
return pb.NewTrafficDailyStatServiceClient(this.pickConn())
}
// Context 构造Admin上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()