ScreenModule.php 297 B

12345678910111213141516
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class ScreenModule extends Validate{
  5. protected $rule = [
  6. 'title|名称' => 'require|length:1,30',
  7. 'name|标识' => 'require|length:1,50|unique:screen_module',
  8. // 'img|封面图' => 'require',
  9. ];
  10. }