Compare commits
	
		
			2 Commits
		
	
	
		
			85d297aeaa
			...
			9ae4838986
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9ae4838986 | |||
| 0d5fa6e9f7 | 
@ -39,8 +39,8 @@ func (h *RegisterService) Run(req *facade.RegisterReq) (resp *facade.RegisterRes
 | 
			
		||||
		return nil, err
 | 
			
		||||
	}
 | 
			
		||||
	loginResp, err := rpcClient.Login(h.Context, &user1.LoginReq{
 | 
			
		||||
		Email:    "11",
 | 
			
		||||
		Password: "22",
 | 
			
		||||
		Email:    req.Email,
 | 
			
		||||
		Password: req.Password,
 | 
			
		||||
	})
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, err
 | 
			
		||||
 | 
			
		||||
@ -16,6 +16,6 @@ func NewLoginService(ctx context.Context) *LoginService {
 | 
			
		||||
func (s *LoginService) Run(req *user.LoginReq) (resp *user.LoginResp, err error) {
 | 
			
		||||
	// Finish your business logic.
 | 
			
		||||
 | 
			
		||||
	resp = &user.LoginResp{UserId: 111}
 | 
			
		||||
	resp = &user.LoginResp{UserId: int32(req.Password[0])}
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user