MerchantTypeValidate.php 290 B

123456789101112131415161718
  1. <?php
  2. namespace app\validate\admin;
  3. use think\Validate;
  4. class MerchantTypeValidate extends Validate
  5. {
  6. protected $failException = true;
  7. protected $rule = [
  8. 'type_name|店铺类型名称' => 'require|max:5',
  9. 'type_info|店铺类型要求' => 'max:256',
  10. ];
  11. }