1、修复栏目管理中的bug

2、增加路由规则管理
This commit is contained in:
2016-07-23 11:26:09 +08:00
parent 27891c868a
commit 75125bb298
7 changed files with 88 additions and 70 deletions

View File

@@ -18,7 +18,7 @@ class Document extends \think\model\Merge{
protected $fk = 'doc_id';
// 定义需要自动写入时间戳格式的字段
protected $autoTimeField = array('create_time','update_time','deadline');
protected $autoWriteTimestamp = array('create_time','update_time','deadline');
protected $auto = array('doc_id', 'title', 'description', 'update_time','deadline');
protected $insert = array('uid', 'attach'=>0, 'view'=>0, 'comment'=>0, 'extend'=>0, 'create_time', 'status');