Config.php 308 B

1234567891011121314151617
  1. <?php
  2. namespace app\common\validate;
  3. use think\Validate;
  4. class Config extends Validate
  5. {
  6. protected $rule = [
  7. 'name|配置标识' => 'require|length:1,30|unique:config',
  8. 'title|配置标题' => 'require|length:1,50',
  9. ];
  10. protected $message = [];
  11. protected $scene = [];
  12. }