shish 2 anos atrás
pai
commit
218bd29783
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      app-hd/controllers/GhsController.php

+ 2 - 1
app-hd/controllers/GhsController.php

@@ -290,8 +290,9 @@ class GhsController extends BaseController
                 $shareLogo = imgUtil::groupImg($ghsShop->shareLogo);
             }
             $ghs['shareLogo'] = $shareLogo;
+            $ghs['telephone'] = $ghsShop->telephone ?? '';
             $ghs['superWx'] = '';
-            if(!empty($ghsShop->superWx)){
+            if (!empty($ghsShop->superWx)) {
                 $ghs['superWx'] = imgUtil::groupImg($ghsShop->superWx);
             }