修复bug,设置router

This commit is contained in:
2020-03-28 12:18:58 +08:00
parent 671f66a0f0
commit c7a28d9530
8 changed files with 26 additions and 25 deletions

View File

@@ -6,7 +6,7 @@
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
namespace app\http\validate\admin;
namespace app\http\validate;
use think\Validate;
@@ -23,7 +23,7 @@ class Category extends Validate{
];
protected $scene = [
'add' => ['title'],
'edit' => ['title'],
'adminadd' => ['title'],
'adminedit' => ['title'],
];
}