修复Loader命名空间重复

This commit is contained in:
yinggaozhen
2017-08-02 19:27:11 +08:00
committed by ThinkPHP
parent 01773fbc8b
commit 2b2f9e0de7

View File

@@ -11,13 +11,14 @@
namespace think;
\think\Loader::import('controller/Jump', TRAIT_PATH, EXT);
use think\exception\ValidateException;
use traits\controller\Jump;
Loader::import('controller/Jump', TRAIT_PATH, EXT);
class Controller
{
use \traits\controller\Jump;
use Jump;
/**
* @var \think\View 视图类实例