Browse Source

update

master
DengBiao 2 years ago
parent
commit
21bac79167
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      internal/business/api/business_ext.go

+ 3
- 1
internal/business/api/business_ext.go View File

@@ -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
}


Loading…
Cancel
Save