feat: user info

This commit is contained in:
zzw
2026-10-19 17:30:45 +08:00
parent 46d3f672bf
commit 8d7b543dc2
57 changed files with 2836 additions and 251 deletions
@@ -48,6 +48,11 @@ func (s *UserServer) Info(ctx context.Context, in *user.InfoReq) (*user.Response
return l.Info(in)
}
func (s *UserServer) Update(ctx context.Context, in *user.UpdateReq) (*user.Response, error) {
l := logic.NewUpdateLogic(ctx, s.svcCtx)
return l.Update(in)
}
func (s *UserServer) Password(ctx context.Context, in *user.PasswordReq) (*user.Response, error) {
l := logic.NewPasswordLogic(ctx, s.svcCtx)
return l.Password(in)
@@ -117,3 +122,8 @@ func (s *UserServer) InternalVerifyPassword(ctx context.Context, in *user.Intern
l := logic.NewInternalVerifyPasswordLogic(ctx, s.svcCtx)
return l.InternalVerifyPassword(in)
}
func (s *UserServer) InternalUsersByBiz(ctx context.Context, in *user.InternalUsersByBizReq) (*user.InternalUsersByBizData, error) {
l := logic.NewInternalUsersByBizLogic(ctx, s.svcCtx)
return l.InternalUsersByBiz(in)
}