mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
controller类默认use traits
This commit is contained in:
@@ -11,8 +11,12 @@
|
|||||||
|
|
||||||
namespace think;
|
namespace think;
|
||||||
|
|
||||||
|
T('think/controller/view');
|
||||||
|
|
||||||
class Controller
|
class Controller
|
||||||
{
|
{
|
||||||
|
use \traits\think\controller\view;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 控制器参数
|
* 控制器参数
|
||||||
* @var config
|
* @var config
|
||||||
|
|||||||
Reference in New Issue
Block a user