tp3.2 复合查询or

tp3.2 复合查询or

$where['goods_name'] = array("like","%$q%");
$where['goods_sn'] = array("like","%$q%");
$where['_logic'] = 'or';
$amap['_complex'] = $where;
posted @ 2017-09-29 15:27  小小强学习网  阅读(5570)  评论(0编辑  收藏  举报