thinkphp模板中无法给自定义函数传多个参数

1.模板的用法

{:function(param1,param2,param3...)}

2.实例

  <td>{:getChannelInfo($adminId,$v['sale_id'])}</td>

3.函数

function getChannelInfo($a,$b){
    return $a.",".$b;
}

 

posted @   侠岚之弋痕夕  阅读(1107)  评论(0编辑  收藏  举报
Where is the starting point, we don't have a choice, but the destination where we can pursue!
点击右上角即可分享
微信分享提示