app/Http/Requests/Reply/EventRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'type' => 'required|in:follow,no-match',
            'reply_content' => 'required',
            'reply_type' => 'required|in:text,material',
        ];
    }
public function rules ( ) { return [ 'type' => 'required|in:follow,no-match' , 'reply_content' => 'required' , 'reply_type' => 'required|in:text,material' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .