mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
修正模型扩展的traits引入路径
This commit is contained in:
@@ -11,11 +11,11 @@
|
|||||||
|
|
||||||
namespace think\model;
|
namespace think\model;
|
||||||
|
|
||||||
T('think/model/adv');
|
T('model/adv');
|
||||||
T('think/model/query');
|
T('model/query');
|
||||||
|
|
||||||
class Adv extends \think\model
|
class Adv extends \think\model
|
||||||
{
|
{
|
||||||
use traits\think\model\adv;
|
use traits\model\adv;
|
||||||
use traits\think\model\query;
|
use traits\model\query;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
namespace think\model;
|
namespace think\model;
|
||||||
|
|
||||||
T('think/model/relation');
|
T('model/relation');
|
||||||
class Relation extends \think\model
|
class Relation extends \think\model
|
||||||
{
|
{
|
||||||
use \traits\model\relation;
|
use \traits\model\relation;
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
namespace think\model;
|
namespace think\model;
|
||||||
|
|
||||||
T('think/model/view');
|
T('model/view');
|
||||||
class View extends \think\model
|
class View extends \think\model
|
||||||
{
|
{
|
||||||
use \traits\think\model\view;
|
use \traits\model\view;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user