thinkphp
thinkphp5.1保存搜索条件

$map[]=[&039;sell_id&039;,&039;=&039;,API_UID];$map[]=[&039;status&039;,&039;=&039;,1];$find=&039;id,cid,goods_...

thinkPHP多层json遍历

<?publicfunctiondemodel(){$arr=2;$list=Db::name(&039;goods&039;)->where(&039;id&039;,1)->...

thinkphp5.1 关联查询多表查询

控制器代码:<?php$goods_rs=Db::name(&039;goods&039;)->field(&039;a.id,a.title,b.sid,b.price&039;)->alias(&039;...