openid 的验证 rules 不应该是 required_without:code ?
针对微信作为第三方登录:
使用 oauth 简易模式时, 客户端向服务端返回 openid 和 access_token, 没有问题;
使用授权模式时, 客户端只返回一个 code, 此时的 openid 不应该为 required ( openid 和 access_token 是通过 code 向获取到的 )
推荐文章: