123456789101112131415161718192021222324252627282930 |
- <?php
- namespace addons\cms\model;
- use think\Db;
- use think\Model;
- class Autolink extends Model
- {
- protected $name = "cms_autolink";
-
- protected $autoWriteTimestamp = 'int';
-
- protected $createTime = 'createtime';
- protected $updateTime = 'updatetime';
-
- protected $append = [
- ];
- protected static $config = [];
- protected static function init()
- {
- $config = get_addon_config('cms');
- self::$config = $config;
- }
- }
|