Commit d1ed13ed authored by liuyuzhen's avatar liuyuzhen

线下支付图片不存在问题

parent 45696ab5
...@@ -686,10 +686,14 @@ class CartServiceModel extends \Business\AbstractModel{ ...@@ -686,10 +686,14 @@ class CartServiceModel extends \Business\AbstractModel{
if($deliverySetting['offlinePay']){ if($deliverySetting['offlinePay']){
$offlinePaywayArray = unserialize($store['offline_payway']); $offlinePaywayArray = unserialize($store['offline_payway']);
if($offlinePaywayArray){ if($offlinePaywayArray){
foreach($offlinePaywayArray['images'] as $image){ if($offlinePaywayArray['images']){
if($image){ foreach($offlinePaywayArray['images'] as $image){
$offlinePaywayArray['imageUrls'][] = \Our\Common::getStaticFile($image, \Our\ImageConst::storeLabel); if($image){
$offlinePaywayArray['imageUrls'][] = \Our\Common::getStaticFile($image, \Our\ImageConst::storeLabel);
}
} }
}else{
$offlinePaywayArray['imageUrls'] = array();
} }
$deliverySetting['offlinePayway'] = $offlinePaywayArray; $deliverySetting['offlinePayway'] = $offlinePaywayArray;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment