增加统计服务某日、某月流量API

This commit is contained in:
刘祥超
2022-06-18 14:26:43 +08:00
parent b01ea79c5c
commit c024331fa0
2 changed files with 111 additions and 8 deletions

View File

@@ -1963,9 +1963,11 @@ func (this *ServerService) FindServerUserPlan(ctx context.Context, req *pb.FindS
DayTo: userPlan.DayTo,
User: nil,
Plan: &pb.Plan{
Id: int64(plan.Id),
Name: plan.Name,
PriceType: plan.PriceType,
Id: int64(plan.Id),
Name: plan.Name,
PriceType: plan.PriceType,
TrafficPriceJSON: plan.TrafficPrice,
TrafficLimitJSON: plan.TrafficLimit,
},
},
}, nil