shish 4 lat temu
rodzic
commit
3df097c89e
1 zmienionych plików z 10 dodań i 0 usunięć
  1. 10 0
      app-mall/controllers/ShopController.php

+ 10 - 0
app-mall/controllers/ShopController.php

@@ -18,6 +18,16 @@ use common\components\util;
 class ShopController extends BaseController
 {
 
+    //门店详情 ssh 20220607
+    public function actionInfo()
+    {
+        $shop = $this->shop;
+        $info = $shop->attributes;
+        $superWx = $info['superWx'] ?? '';
+        $info['superWx'] = imgUtil::groupImg($superWx) . "?x-oss-process=image/resize,m_fill,h_700,w_700";
+        util::success(['info' => $info]);
+    }
+
     //最新店铺 ssh 20220506
     public function actionGetNewShop()
     {