|
|
@@ -261,15 +261,15 @@ class WxOpenController extends PublicController
|
|
|
public function actionBindOpen()
|
|
|
{
|
|
|
$host = Yii::$app->request->getHostInfo();
|
|
|
- if (strpos($host, 'huaml.com') !== false || strpos($host, 'huahb.com') !== false) {
|
|
|
+ if (strpos($host, 'huaml.com') !== false || strpos($host, 'huahb.cn') !== false) {
|
|
|
//花店
|
|
|
Yii::$app->params['ptStyle'] = 1;
|
|
|
$isOpen = 1;
|
|
|
- } elseif (strpos($host, 'theflorist.cn') !== false || strpos($host, 'the.cn') !== false || strpos($host, 'zhhinc.com') !== false) {
|
|
|
+ } elseif (strpos($host, 'theflorist.cn') !== false || strpos($host, 'zhiguanhua.cn') !== false) {
|
|
|
//商城
|
|
|
Yii::$app->params['ptStyle'] = 3;
|
|
|
$isOpen = 3;
|
|
|
- } elseif (strpos($host, 'hzghd.com') !== false || strpos($host, 'huahb.cn') !== false) {
|
|
|
+ } elseif (strpos($host, 'hzghd.com') !== false || strpos($host, 'wixhb.com') !== false) {
|
|
|
//供货商
|
|
|
Yii::$app->params['ptStyle'] = 2;
|
|
|
$isOpen = 2;
|