Browse Source

开始授权

shish 5 years ago
parent
commit
9abf2a962f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app-pt/controllers/WxOpenController.php

+ 1 - 1
app-pt/controllers/WxOpenController.php

@@ -243,7 +243,7 @@ class WxOpenController extends PublicController
             //花店
             Yii::$app->params['ptStyle'] = 1;
             $isOpen = 1;
-        } elseif (strpos($host, 'theflorist.cn') !== false) {
+        } elseif (strpos($host, 'theflorist.cn') !== false || strpos($host, 'the.cn') !== false || strpos($host, 'zhhinc.com') !== false) {
             //商城
             Yii::$app->params['ptStyle'] = 3;
             $isOpen = 3;