shish 4 年 前
コミット
abe5b8b896
1 ファイル変更2 行追加1 行削除
  1. 2 1
      app-mall/controllers/ShopController.php

+ 2 - 1
app-mall/controllers/ShopController.php

@@ -23,10 +23,11 @@ class ShopController extends BaseController
     {
         $shop = $this->shop;
         $info = !empty($shop) ? $shop->attributes : [];
-        $info['superWx'] = '';
         if (isset($info['superWx'])) {
             $superWx = $info['superWx'];
             $info['superWx'] = imgUtil::groupImg($superWx) . "?x-oss-process=image/resize,m_fill,h_700,w_700";
+        } else {
+            $info['superWx'] = '';
         }
         util::success(['info' => $info]);
     }