diff --git a/application/service/GoodsService.php b/application/service/GoodsService.php index 5c28a2d92fbed4c75e215105fc69746b9bceb98a..d19849f9c4e336697436a4da67ddcef02086fb9e 100755 --- a/application/service/GoodsService.php +++ b/application/service/GoodsService.php @@ -876,7 +876,8 @@ class GoodsService 'is_deduction_inventory' => isset($params['is_deduction_inventory']) ? intval($params['is_deduction_inventory']) : 0, 'is_shelves' => isset($params['is_shelves']) ? intval($params['is_shelves']) : 0, 'content_web' => $content_web, - 'images' => isset($photo['data'][0]) ? $photo['data'][0] : '', + //未找到"$photo['data'][0]"合理应用场景,再者后者会覆盖,暂时注释,麻烦作者在考虑一下会不会有bug +// 'images' => isset($photo['data'][0]) ? $photo['data'][0] : '', 'photo_count' => count($photo['data']), 'is_home_recommended' => isset($params['is_home_recommended']) ? intval($params['is_home_recommended']) : 0, 'images' => $attachment['data']['images'],