修复bug,设置router
This commit is contained in:
@@ -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 Channel extends Validate{
|
||||
];
|
||||
|
||||
protected $scene = [
|
||||
'add' => ['title'],
|
||||
'edit' => ['title'],
|
||||
'adminadd' => ['title'],
|
||||
'adminedit' => ['title'],
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user