作者 潘浩文
1 个管道 的构建 通过 耗费 2 秒

接口对接测试

@@ -20,7 +20,7 @@ class OrderController extends Controller @@ -20,7 +20,7 @@ class OrderController extends Controller
20 public function marketOrderIndex() 20 public function marketOrderIndex()
21 { 21 {
22 $param=$this->request->param(); 22 $param=$this->request->param();
23 - $where=['']; 23 + $where=[];
24 if (!empty($param['order_sn'])){ 24 if (!empty($param['order_sn'])){
25 $where['mo.order_sn']=['like','%'.$param['order_sn'].'%']; 25 $where['mo.order_sn']=['like','%'.$param['order_sn'].'%'];
26 } 26 }