|
|
|
@ -692,8 +692,14 @@ class Goods extends Controller |
|
|
|
|
if(empty($detail)){ |
|
|
|
|
return $this->renderError('暂无线报商品'); |
|
|
|
|
} |
|
|
|
|
$model = new GoodsModel(); |
|
|
|
|
$List = GoodsModel::whereIn("goods_id",$detail['goods_id'])->select(); |
|
|
|
|
$goodsList = null; |
|
|
|
|
foreach ($List as $key => $value) { |
|
|
|
|
|
|
|
|
|
$goodsList = GoodsModel::whereIn("goods_id",$detail['goods_id'])->select(); |
|
|
|
|
$goodsList[] = $model->getDetail( $value["goods_id"]); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
return $this->renderSuccess(compact('goodsList')); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|