shish %!s(int64=4) %!d(string=hai) anos
pai
achega
e7fcd3f1d7
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      biz/shop/classes/ShopClass.php

+ 5 - 1
biz/shop/classes/ShopClass.php

@@ -78,7 +78,11 @@ class ShopClass extends BaseClass
             return $list;
         }
         foreach ($list as $key => $val) {
-            $list[$key]['avatar'] = imgUtil::groupImg($val['avatar']);
+            $avatar = imgUtil::groupImg($val['avatar']);
+            $list[$key]['avatar'] = $avatar;
+            //店长微信
+            $superWx = $val['superWx'] ?? '';
+            $list[$key]['superWx'] = imgUtil::groupImg($superWx) . "?x-oss-process=image/resize,m_fill,h_700,w_700";
         }
         return $list;
     }