tp3.2 复合查询or
$where['goods_name'] = array("like","%$q%");
$where['goods_sn'] = array("like","%$q%");
$where['_logic'] = 'or';
$amap['_complex'] = $where;
tp3.2 复合查询or
$where['goods_name'] = array("like","%$q%");
$where['goods_sn'] = array("like","%$q%");
$where['_logic'] = 'or';
$amap['_complex'] = $where;