NoticeCommon.php 262 B

1234567891011121314151617
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class NoticeCommon extends Validate{
  5. protected $rule = [
  6. 'cate_id|通知分类' => 'require|gt:0',
  7. 'title|标题' => 'require',
  8. 'content|内容' => 'require',
  9. ];
  10. }