增加套餐相关代码

This commit is contained in:
GoEdgeLab
2021-10-29 14:02:40 +08:00
parent 191336af6d
commit eea3b74289
14 changed files with 504 additions and 2 deletions

View File

@@ -526,6 +526,18 @@ func (this *APINode) registerServices(server *grpc.Server) {
this.rest(instance)
}
{
instance := this.serviceInstance(&services.PlanService{}).(*services.PlanService)
pb.RegisterPlanServiceServer(server, instance)
this.rest(instance)
}
{
instance := this.serviceInstance(&services.UserPlanService{}).(*services.UserPlanService)
pb.RegisterUserPlanServiceServer(server, instance)
this.rest(instance)
}
APINodeServicesRegister(this, server)
// TODO check service names