// 如果当前文档不是系统模型,为单表模型
$query = "SELECT arc.*,tp.reid,tp.typedir,ch.addtable
FROM `dede_archives` arc
LEFT JOIN dede_arctype tp on tp.id=arc.typeid
LEFT JOIN dede_channeltype as ch on arc.channel = ch.id
WHERE arc.id='$aid'";
$this->Fields = $this->dsql->GetOne($query);
修改为
// 如果当前文档不是系统模型,为单表模型
$query = "SELECT arc.*,tp.reid,tp.typedir,tp.typeimg,ch.addtable
FROM `dede_archives` arc
LEFT JOIN dede_arctype tp on tp.id=arc.typeid
LEFT JOIN dede_channeltype as ch on arc.channel = ch.id
WHERE arc.id='$aid'";
$this->Fields = $this->dsql->GetOne($query);