'require', 'app_secret' => 'require', 'encryption_type' => 'require|in:1,2,3', ]; protected $message = [ 'app_id.require' => '请填写AppID', 'app_secret.require' => '请填写AppSecret', 'encryption_type.require' => '请选择消息加密方式', 'encryption_type.in' => '消息加密方式状态值错误', ]; }