租赁小程序 基于ThinkPHP+UniA
2025-03-06 上传教师教学资源老师教学办工资源
2025-02-27 上传超强大微信小程序源码 内含几
2025-02-27 上传校园跑腿小程序 多校园版二手
2025-02-21 上传最新PHP盲盒商城系统源码 晒图
2025-02-14 上传多端商城系统源码H5小程序APP
2025-01-22 上传红娘金媒 修复版10.3.1婚恋相
2025-01-22 上传Thinkphp+Uniapp开发的多端商
2025-01-22 上传2025帝国cms7.5文库范文自动生
2025-01-19 上传跑腿小程序 智能派单 系统派单
2025-01-15 上传20个Python源码项目
2025-01-07 上传 1if($keyword != '') |
01//获得附加表的相关信息02$addField = "";03$addJoin = "";04if(is_object($refObj->ChannelUnit))05{06 $addtable = $refObj->ChannelUnit->ChannelInfos['addtable'];07 if($addtable!="")08 {09 $addJoin = " LEFT JOIN $addtable ON arc.id = ".$addtable.".aid ";10 $addField = "";11 $fields = explode(",",$refObj->ChannelUnit->ChannelInfos['listfields']);12 foreach($fields as $k=>$v)13 {14 $nfields[$v] = $k;15 }16 foreach($refObj->ChannelUnit->ChannelFields as $k=>$arr)17 {18 if(isset($nfields[$k]))19 {20 if(!empty($arr['rename']))21 {22 $addField .= ",".$addtable.".".$k." as ".$arr['rename'];23 }24 else25 {26 $addField .= ",".$addtable.".".$k;27 }28 }29 }30 }31} |
1tp.sitepath |
1tp.sitepath $addField |
1arc.typeid=tp.id |
1arc.typeid=tp.id $addJoin |
1{dede:likearticle row='10' col='' titlelen='100' infolen='200'}2<a href="[field:arcurl/]">[field:title/]</a>3<p>价格:¥[field:jiage/]</p>4{/dede:likearticle} |