shish 4 years ago
parent
commit
7ed4fee5f0
1 changed files with 8 additions and 0 deletions
  1. 8 0
      app-pt/controllers/MainController.php

+ 8 - 0
app-pt/controllers/MainController.php

@@ -49,6 +49,14 @@ class MainController extends PlatformController
             $name = '花掌柜';
             $bei = '闽ICP备15017325号-8';
         }
+        if (strstr($host, 'wixhb.com') !== false) {
+            $name = '销花宝';
+            $bei = '闽ICP备15017325号-9';
+        }
+        if (strstr($host, 'wixhb.cn') !== false) {
+            $name = '花掌柜';
+            $bei = '闽ICP备15017325号-10';
+        }
         $this->layout = false;
         return $this->render('index', ['name' => $name, 'bei' => $bei]);
     }