shish %!s(int64=6) %!d(string=hai) anos
pai
achega
afffcf42d6
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      common/services/xhWxMenuService.php

+ 1 - 3
common/services/xhWxMenuService.php

@@ -22,12 +22,10 @@ class xhWxMenuService
 	    self::delMenuList($merchantId);
         $menuOption = configDict::getConfig('wxMenuOption');
         $mallDomain = Yii::$app->params['mallDomain'];
-        $wDomain = Yii::$app->params['wDomain'];
         $shopDomain = Yii::$app->params['shopDomain'];
         //强制使用https方式
         if (strpos($mallDomain, 'https') === false) {
             $mallDomain = str_replace('http', 'https', $mallDomain);
-            $wDomain = str_replace('http', 'https', $wDomain);
             $shopDomain = str_replace('http', 'https', $shopDomain);
         }
         $button = [
@@ -39,7 +37,7 @@ class xhWxMenuService
         //平台使用的公众号菜单与花店公众号菜单不一样
         if (isset($open['merchantId']) && $open['merchantId'] == $merchantId) {
             $button = [
-                ["type" => 'view', "name" => "官网", "menuOption" => $menuOption['redirectToCommonUseUrl'], "url" => $wDomain],
+                //["type" => 'view', "name" => "官网", "menuOption" => $menuOption['redirectToCommonUseUrl'], "url" => $wDomain],
                 ["type" => "view", "name" => "商城", "menuOption" => $menuOption['redirectToCustomUrl'], "url" => $mallDomain . '/#/?account=' . $merchantId,],
                 ["type" => "view", "name" => "更多", "menuOption" => $menuOption['redirectToCommonUseUrl'], "sub_button" => [
                     ["type" => "view", "name" => "快速付款", "menuOption" => $menuOption['redirectToCustomUrl'], "url" => $mallDomain . '/#/pages/pay/index?account=' . $merchantId],