|
|
|
@ -181,7 +181,7 @@ class GoodsController extends BaseController |
|
|
|
if(!empty($banners)){ |
|
|
|
$banners = json_decode($banners,true); |
|
|
|
foreach ($banners as $banner){ |
|
|
|
$this->goodsService->bannerCreate($res['id'],$banner,1); |
|
|
|
$this->goodsService->bannerCreate($res['id'],$banner['path'],1); |
|
|
|
} |
|
|
|
} |
|
|
|
return $this->success($res); |
|
|
|
|