mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
替换T函数
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace think;
|
||||
|
||||
T('controller/Jump');
|
||||
\think\Loader::import('controller/Jump', TRAIT_PATH, EXT);
|
||||
|
||||
class Controller
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
namespace think\model;
|
||||
|
||||
T('model/Adv');
|
||||
T('model/Transaction');
|
||||
\think\Loader::import('model/Adv', TRAIT_PATH, EXT);
|
||||
\think\Loader::import('model/Transaction', TRAIT_PATH, EXT);
|
||||
|
||||
class Adv extends \think\Model
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace think\model;
|
||||
use think\Lang;
|
||||
use think\Loader;
|
||||
|
||||
T('modle/Adv');
|
||||
\think\Loader::import('modle/Adv', TRAIT_PATH, EXT);
|
||||
|
||||
/**
|
||||
* MongoModel模型类
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
|
||||
namespace think\model;
|
||||
|
||||
T('model/Relation');
|
||||
\think\Loader::import('model/Relation', TRAIT_PATH, EXT);
|
||||
|
||||
class Relation extends \think\Model
|
||||
{
|
||||
use \traits\model\Relation;
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
|
||||
namespace think\model;
|
||||
|
||||
T('model/View');
|
||||
\think\Loader::import('model/View', TRAIT_PATH, EXT);
|
||||
|
||||
class View extends \think\Model
|
||||
{
|
||||
use \traits\model\View;
|
||||
|
||||
Reference in New Issue
Block a user