feat: minilogin改造
This commit is contained in:
@@ -29,11 +29,6 @@ func (s *SystemServiceServer) GetUserById(ctx context.Context, in *system.GetUse
|
||||
return l.GetUserById(in)
|
||||
}
|
||||
|
||||
func (s *SystemServiceServer) GetUserByOpenId(ctx context.Context, in *system.GetUserByOpenIdReq) (*system.GetUserByOpenIdResp, error) {
|
||||
l := logic.NewGetUserByOpenIdLogic(ctx, s.svcCtx)
|
||||
return l.GetUserByOpenId(in)
|
||||
}
|
||||
|
||||
func (s *SystemServiceServer) LoginByAccount(ctx context.Context, in *system.LoginByAccountReq) (*system.LoginByAccountResp, error) {
|
||||
l := logic.NewLoginByAccountLogic(ctx, s.svcCtx)
|
||||
return l.LoginByAccount(in)
|
||||
|
||||
Reference in New Issue
Block a user