替换T函数

This commit is contained in:
tale
2016-03-14 00:37:11 +08:00
parent 47d09f2d0a
commit 7593fa863a
5 changed files with 8 additions and 6 deletions

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;