27 lines
1020 B
PHP
27 lines
1020 B
PHP
![]() |
<?php
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | Catch-CMS Design On 2020
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | CatchAdmin [Just Like ~ ]
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | Author: JaguarJack [ njphper@gmail.com ]
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
|
|||
|
namespace catchAdmin\cms\model;
|
|||
|
|
|||
|
use catcher\base\CatchModel as Model;
|
|||
|
use catcher\Utils;
|
|||
|
|
|||
|
class BaseModel extends Model
|
|||
|
{
|
|||
|
public function __construct($data = [])
|
|||
|
{
|
|||
|
parent::__construct($data);
|
|||
|
|
|||
|
$this->field = $this->getTableFields(Utils::tableWithPrefix($this->name));
|
|||
|
}
|
|||
|
}
|