|
|
@@ -30,7 +30,9 @@ func (s *BusinessExtServer) GetUser(ctx context.Context, req *pb.GetUserReq) (*p |
|
|
|
if err != nil { |
|
|
|
return nil, err |
|
|
|
} |
|
|
|
|
|
|
|
if req.UserId != 0 { |
|
|
|
userId = req.UserId |
|
|
|
} |
|
|
|
user, err := app.UserApp.Get(ctx, userId) |
|
|
|
return &pb.GetUserResp{User: user}, err |
|
|
|
} |
|
|
|