新增基础操作
This commit is contained in:
parent
e7491555e8
commit
b71bba6a1e
@ -14,9 +14,7 @@ use think\model\concern\SoftDelete;
|
|||||||
*/
|
*/
|
||||||
abstract class CatchModel extends \think\Model
|
abstract class CatchModel extends \think\Model
|
||||||
{
|
{
|
||||||
use SoftDelete;
|
use SoftDelete, TransTrait, BaseOptionsTrait;
|
||||||
use TransTrait;
|
|
||||||
use BaseOptionsTrait;
|
|
||||||
|
|
||||||
protected $createTime = 'created_at';
|
protected $createTime = 'created_at';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user