自提点新增loho图片展示

This commit is contained in:
Devil
2021-03-07 19:19:52 +08:00
parent f58f45e4b1
commit 4ee3ee51ea
6 changed files with 46 additions and 30 deletions

View File

@ -311,7 +311,7 @@ class Site extends Common
foreach($address as $k=>$v)
{
$address[$k]['id'] = $k;
$address[$k]['logo'] = ResourcesService::AttachmentPathHandle($v['logo']);
$address[$k]['logo'] = empty($v['logo']) ? '' : ResourcesService::AttachmentPathHandle($v['logo']);
}
$params['common_self_extraction_address'] = json_encode($address, JSON_UNESCAPED_UNICODE);
}