shish hace 5 años
padre
commit
8a0b22e9e5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      biz-ghs/custom/classes/CustomClass.php

+ 1 - 1
biz-ghs/custom/classes/CustomClass.php

@@ -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';