dede模板SQL调用自定义模型里的信息
时间:2014-08-12
自定义模型 dede_addon15
- {dede:sql sql=’Select b.*,a.title,a.id from dede_archives as a left join dede_addon15 as b on b.aid=a.id where a.mid=1 limit 0,1′}
- <a href=’/plus/view.php?aid=[field:id/]‘ target=’_blank’>[field:title/]</a>
- {/dede:sql}