GoodsCateValidate.php 383 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @copyright Copyright (c) 2021 勾股工作室
  4. * @license https://opensource.org/licenses/Apache-2.0
  5. * @link https://www.gougucms.com
  6. */
  7. namespace app\admin\validate;
  8. use think\Validate;
  9. class GoodsCateValidate extends Validate
  10. {
  11. protected $rule = [
  12. 'title' => 'require',
  13. ];
  14. protected $message = [
  15. 'title.require' => '分类名称不能为空',
  16. ];
  17. }