增加套餐相关代码

This commit is contained in:
刘祥超
2021-10-29 14:02:40 +08:00
parent a0ff24adb6
commit d36f7d01df
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