This commit is contained in:
thinkphp
2016-03-14 14:03:10 +08:00
5 changed files with 8 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
namespace think;
T('controller/Jump');
\think\Loader::import('controller/Jump', TRAIT_PATH, EXT);
class Controller
{

View File

@@ -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
{

View File

@@ -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模型类

View File

@@ -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;

View File

@@ -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;