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

namespace App\Http\Requests;use Illuminate\Foundation\Http\FormRequest;class ProductCreateRequest extends FormRequest{public function authorize(){return true;}public function rules(){$P2gAC0=array();$P2gAC0['type']='required';$P2gAC0['logo']='required';$P2gAC0['name']='required';$P2gAC0['slogan']='required';$P2gAC0['quota_min']='required|between:0,999999';$P2gAC0['platform']='required';$P2gAC0['apply_condition']='required|max:999';$P2gAC0['auto_down_sale_num']='required|between:0,99999';$P2gAC0['sort']='required|between:-999,999';return $P2gAC0;}public function messages(){$P2gAC0=array();$P2gAC0['type.required']='请选择产品类型';$P2gAC0['logo.required']='请上传logo';$P2gAC0['name.required']='请填写产品名称';$P2gAC0['slogan.required']='请填写产品描述';return $P2gAC0;}}
?>