|
@@ -149,7 +149,7 @@ class CustomClass extends BaseClass
|
|
|
$customSjIdList = array_unique(array_filter(array_column($list, 'sjId')));
|
|
$customSjIdList = array_unique(array_filter(array_column($list, 'sjId')));
|
|
|
$sjInfo = MerchantClass::getByIds($customSjIdList, null, 'id');
|
|
$sjInfo = MerchantClass::getByIds($customSjIdList, null, 'id');
|
|
|
foreach ($list as $key => $val) {
|
|
foreach ($list as $key => $val) {
|
|
|
- $customSjId = $val['customSjId'];
|
|
|
|
|
|
|
+ $customSjId = $val['sjId'];
|
|
|
$currentInfo = isset($sjInfo[$customSjId]) ? $sjInfo[$customSjId] : [];
|
|
$currentInfo = isset($sjInfo[$customSjId]) ? $sjInfo[$customSjId] : [];
|
|
|
$currentInfo = business::formatMerchantLogo($currentInfo);
|
|
$currentInfo = business::formatMerchantLogo($currentInfo);
|
|
|
$smallAvatar = !empty($currentInfo['smallLogoUrl']) ? $currentInfo['smallLogoUrl'] : imgUtil::getPrefix() . '/hhb_small.png';
|
|
$smallAvatar = !empty($currentInfo['smallLogoUrl']) ? $currentInfo['smallLogoUrl'] : imgUtil::getPrefix() . '/hhb_small.png';
|