<?php
/*
 本代码由 口号帮 创建
 创建时间 2019-05-08 16:22:09
 技术支持 口号帮 
 严禁反编译、逆向等任何形式的侵权行为，违者将追究法律责任
*/

namespace App\Http\Requests;use Illuminate\Foundation\Http\FormRequest;class ProductColumnCreateRequest extends FormRequest{public function authorize(){return true;}public function rules(){$P2gAC0=array();$P2gAC0['name']='required|unique:product_columns|max:6';return $P2gAC0;}public function messages(){$P2gAC0=array();$P2gAC0['name.required']='请填写栏目名称';$P2gAC0['name.unique']='该栏目名称已存在';$P2gAC0['name.max']='栏目名称最大长度为6';return $P2gAC0;}}
?>