AdminLog.php 456 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace app\company\model;
  3. use think\Model;
  4. class AdminLog extends Model
  5. {
  6. // 表名
  7. protected $table = 'pc_admin_log';
  8. // 开启自动写入时间戳字段
  9. protected $autoWriteTimestamp = 'int';
  10. // 定义时间戳字段名
  11. protected $createTime = 'createtime';
  12. protected $updateTime = '';
  13. //忽略的链接正则列表
  14. protected static $ignoreRegex = [
  15. '/^(.*)\/(selectpage|index)$/i',
  16. ];
  17. }