编写类别

This commit is contained in:
巴掌 committed 2018-10-25 16:54:56 +08:00
1 parent 50c911f98a
commit 7b3d8cee54
25 files changed
+603 -98

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<?php
namespace app\system\validate;
use think\Validate;
class Category extends Validate
{
/**
* 定义验证规则
* 格式:'字段名' => ['规则1','规则2'...]
*
* @var array
*/
protected $rule = [];
/**
* 定义错误信息
* 格式:'字段名.规则名' => '错误信息'
*
* @var array
*/
protected $message = [];
}