用法

 

{eyou:sql sql='查询语句' cachetime='3600'}
{$field.数据表相应的字段名称}
{/eyou:sql}

 

属性

cachetime数据缓存时间,不使用缓存则cachetime=’-1′