截流自动化的商城平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ExpressValidate.php 362B

12345678910111213141516171819
  1. <?php
  2. namespace app\admin\validate;
  3. use app\common\basics\Validate;
  4. class ExpressValidate extends Validate
  5. {
  6. protected $rule = [
  7. 'name' => 'require|unique:Express,name^del',
  8. 'poster' => 'require',
  9. ];
  10. protected $message = [
  11. 'name.unique' => '该名称已存在',
  12. 'poster.require' => '图标不能为空',
  13. ];
  14. }