mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修复Loader命名空间重复
This commit is contained in:
@@ -11,13 +11,14 @@
|
|||||||
|
|
||||||
namespace think;
|
namespace think;
|
||||||
|
|
||||||
\think\Loader::import('controller/Jump', TRAIT_PATH, EXT);
|
|
||||||
|
|
||||||
use think\exception\ValidateException;
|
use think\exception\ValidateException;
|
||||||
|
use traits\controller\Jump;
|
||||||
|
|
||||||
|
Loader::import('controller/Jump', TRAIT_PATH, EXT);
|
||||||
|
|
||||||
class Controller
|
class Controller
|
||||||
{
|
{
|
||||||
use \traits\controller\Jump;
|
use Jump;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \think\View 视图类实例
|
* @var \think\View 视图类实例
|
||||||
|
|||||||
Reference in New Issue
Block a user