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

接口对接测试

... ... @@ -20,7 +20,7 @@ class OrderController extends Controller
public function marketOrderIndex()
{
$param=$this->request->param();
$where=[];
$where=[''];
if (!empty($param['order_sn'])){
$where['mo.order_sn']=['like','%'.$param['order_sn'].'%'];
}
... ... @@ -168,12 +168,13 @@ class OrderController extends Controller
* @author panhaowen
* @url /portal/Order/businessOrderIndex
* @param name:param type:varchar require:1 desc:搜索参数(order_sn,name,user_login1,status)
* @param name:business_id type:int require:1 desc:新媒体类型
* @method POST
*/
public function businessOrderIndex()
{
$param=$this->request->param();
$where=[];
$where['b.business_id']=$param['business_id'];
if (!empty($param['order_sn'])){
$where['bo.order_sn']=['like','%'.$param['order_sn'].'%'];
}
... ...