fix: bff add configID

This commit is contained in:
zzw
2026-08-14 09:16:21 +08:00
parent 6a42e763d0
commit 6ca3024a9f
17 changed files with 1027 additions and 150 deletions
+13 -3
View File
@@ -23,7 +23,17 @@ func NewUserServer(svcCtx *svc.ServiceContext) *UserServer {
}
}
func (s *UserServer) Ping(ctx context.Context, in *user.Request) (*user.Response, error) {
l := logic.NewPingLogic(ctx, s.svcCtx)
return l.Ping(in)
func (s *UserServer) Register(ctx context.Context, in *user.RegisterReq) (*user.Response, error) {
l := logic.NewRegisterLogic(ctx, s.svcCtx)
return l.Register(in)
}
func (s *UserServer) RegisterByUser(ctx context.Context, in *user.RegisterByUserReq) (*user.Response, error) {
l := logic.NewRegisterByUserLogic(ctx, s.svcCtx)
return l.RegisterByUser(in)
}
func (s *UserServer) Login(ctx context.Context, in *user.LoginReq) (*user.Response, error) {
l := logic.NewLoginLogic(ctx, s.svcCtx)
return l.Login(in)
}