feat: user items

This commit is contained in:
zzw
2026-08-24 15:57:08 +08:00
parent b7769ece4c
commit 132fb7c357
29 changed files with 1599 additions and 2031 deletions
+12 -1
View File
@@ -6,7 +6,8 @@ package server
import (
"context"
user "lone-services/rpc/user/pb"
"lone-services/rpc/user/pb"
"lone-services/services/user/internal/logic"
"lone-services/services/user/internal/svc"
)
@@ -36,3 +37,13 @@ func (s *UserServer) Login(ctx context.Context, in *user.LoginReq) (*user.Respon
l := logic.NewLoginLogic(ctx, s.svcCtx)
return l.Login(in)
}
func (s *UserServer) UserItems(ctx context.Context, in *user.UserItemsReq) (*user.Response, error) {
l := logic.NewUserItemsLogic(ctx, s.svcCtx)
return l.UserItems(in)
}
func (s *UserServer) UserStatus(ctx context.Context, in *user.UserStatusReq) (*user.Response, error) {
l := logic.NewUserStatusLogic(ctx, s.svcCtx)
return l.UserStatus(in)
}