|
|
@@ -2624,6 +2624,9 @@ class ProductClass extends BaseClass
|
|
|
$num = $numMap[$customId] ?? 0;
|
|
|
$customList[$key]['hasLimitBuyNum'] = $num;
|
|
|
$customList[$key]['hasReachLimitBuyNum'] = $num >= $limitBuy ? 1 : 0;
|
|
|
+ $avatar = $val['avatar'] ?? '';
|
|
|
+ $smallAvatar = imgUtil::groupImg($avatar);
|
|
|
+ $customList[$key]['smallAvatar'] = $smallAvatar . "?x-oss-process=image/resize,m_fill,h_80,w_80";
|
|
|
}
|
|
|
}
|
|
|
return $customList;
|