规格图片bug修复

feat/task1-c-wallet
gongfuxiang 2019-08-18 21:41:16 +08:00
parent ef0a5f9ffa
commit 1e895f8d7d
1 changed files with 2 additions and 2 deletions

View File

@ -434,8 +434,8 @@ class BuyService
$images = self::BuyGoodsSpecImages($ret['data'][0]['goods_id'], $ret['data'][0]['spec']); $images = self::BuyGoodsSpecImages($ret['data'][0]['goods_id'], $ret['data'][0]['spec']);
if(!empty($images)) if(!empty($images))
{ {
$ret['data'][0]['images'] = $images; $ret['data'][0]['images'] = ResourcesService::AttachmentPathViewHandle($images);
$ret['data'][0]['images_old'] = ResourcesService::AttachmentPathViewHandle($images); $ret['data'][0]['images_old'] = $images;
} }
} }