shish 4 years ago
parent
commit
b59c77fd1c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      biz-ghs/merchant/classes/ShopClass.php

+ 2 - 0
biz-ghs/merchant/classes/ShopClass.php

@@ -74,6 +74,8 @@ class ShopClass extends BaseClass
     public static function groupBaseInfo($list)
     {
         foreach ($list as $key => $val) {
+            $shortAvatar = $val['avatar'] ?? '';
+            $list[$key]['avatar'] = imgUtil::groupImg($shortAvatar) . "?x-oss-process=image/resize,m_fill,h_130,w_130";
             if (empty($val['img'])) {
                 $list[$key]['img'] = [];
                 $list[$key]['imgUrl'] = [];