'required|string|size:11', 'type' => [ 'required', Rule::in([ 1,// 表示发送验证码 2,// 表示重新绑定手机号时发送验证码 3,// 表示换账号登录时使用 ]), ], ]; } }