bug_x

导航

 
 'name' => 'required|unique:posts|max:255',  // posts  表名

  源码  vendor\laravel\framework\src\Illuminate\Validation\Validator.php

eg

protected $sizeRules = ['Size', 'Between', 'Min', 'Max', 'Gt', 'Lt', 'Gte', 'Lte'];

 

posted on 2019-07-25 20:22  bug_x  阅读(167)  评论(0编辑  收藏  举报