DedeCms 栏目增加缩略图成果的要领(3)

  将

$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);

  生存文件即可。

  原文地点:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/10028.html