前台插件访问

This commit is contained in:
2016-10-08 11:39:31 +08:00
parent a70c700b04
commit bb97786838
13 changed files with 176 additions and 72 deletions

View File

@@ -15,7 +15,7 @@ namespace app\common\model;
class Document extends \think\model\Merge{
protected $fk = 'doc_id';
//protected static $relationModel = array('document_article');
protected $relationModel = array('document_article');
// 定义需要自动写入时间戳格式的字段
protected $autoWriteTimestamp = array('create_time','update_time','deadline');