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

接口对接测试

@@ -189,7 +189,7 @@ class PortalController extends Controller @@ -189,7 +189,7 @@ class PortalController extends Controller
189 $param=$this->request->param(); 189 $param=$this->request->param();
190 $selected=Db::name('market')->where('id',$param['market_id'])->find()['selected']; 190 $selected=Db::name('market')->where('id',$param['market_id'])->find()['selected'];
191 $classify=Db::name('classify')->where('id','in',explode(',',$selected))->select(); 191 $classify=Db::name('classify')->where('id','in',explode(',',$selected))->select();
192 - $this->success('',$classify); 192 + $this->success('1',$classify);
193 $where=[]; 193 $where=[];
194 $list=Db::name('market_business')->where('market_id',$param['market_id']); 194 $list=Db::name('market_business')->where('market_id',$param['market_id']);
195 $path = ROOT_PATH . '/public/upload/'; //找到当前脚本所在路径 195 $path = ROOT_PATH . '/public/upload/'; //找到当前脚本所在路径