$query = "Select arc.*,tp.reid,tp.typedir,ch.addtable
from `ant_archives` arc
left join ant_arctype tp on tp.id=arc.typeid
left join ant_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 `ant_archives` arc
left join ant_arctype tp on tp.id=arc.typeid
left join ant_channeltype as ch on arc.channel = ch.id
where arc.id='$aid' ";
$this->Fields = $this->dsql->GetOne($query);
即可。
需要这个功能的朋友,去试试吧。