You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
292 B
PHTML

5 years ago
<?php
/**
* Created by PhpStorm.
* User: xmy 280564871@qq.com
* Date: 2017/3/24
* Time: 10:57
*/
namespace App\Model;
use Think\Model;
class BaseModel extends Model{
protected function _initialize()
{
$this->tablePrefix = "tab_";
C(api('Config/lists'));//加载配置变量
}
}