作者 潘浩文

接口对接测试

... ... @@ -175,7 +175,9 @@ class OrderController extends Controller
{
$param=$this->request->param();
$where=[];
$where['c.id']=$param['category_id'];
if (!empty($param['order_sn'])){
$where['c.id']=$param['category_id'];
}
if (!empty($param['order_sn'])){
$where['bo.order_sn']=['like','%'.$param['order_sn'].'%'];
}
... ...