thinkphp3.2 多表查询 联表查询
$goodsList = M('shop_goods g') ->join("cmf_shop_category c on c.id=g.cid") ->field("g.id,g.cid,c.name cname,g.name,g.price,g.stock,g.photo,g.limit_price,g.radio,g.status") ->where("cid = {$id} and g.status=1 and g.radio=0") ->select();