|
@@ -63,6 +63,7 @@ if (getenv('YII_ENV') == 'local') {
|
|
|
$config['b'] = $prefixHttp . 'api.h.hhb.com';
|
|
$config['b'] = $prefixHttp . 'api.h.hhb.com';
|
|
|
}
|
|
}
|
|
|
$config['s'] = $prefixHttp . 'api.s.hhb.com';
|
|
$config['s'] = $prefixHttp . 'api.s.hhb.com';
|
|
|
|
|
+ $config['host'] = 'hhb.com';
|
|
|
}
|
|
}
|
|
|
if (getenv('YII_ENV') == 'test') {
|
|
if (getenv('YII_ENV') == 'test') {
|
|
|
$config['c'] = $prefixHttp . 'api.m.huaml.com';
|
|
$config['c'] = $prefixHttp . 'api.m.huaml.com';
|
|
@@ -71,6 +72,7 @@ if (getenv('YII_ENV') == 'test') {
|
|
|
$config['b'] = $prefixHttp . 'api.h.huaml.com';
|
|
$config['b'] = $prefixHttp . 'api.h.huaml.com';
|
|
|
}
|
|
}
|
|
|
$config['s'] = $prefixHttp . 'api.s.huaml.com';
|
|
$config['s'] = $prefixHttp . 'api.s.huaml.com';
|
|
|
|
|
+ $config['host'] = 'huaml.com';
|
|
|
}
|
|
}
|
|
|
if (getenv('YII_ENV') == 'development') {
|
|
if (getenv('YII_ENV') == 'development') {
|
|
|
$config['c'] = $prefixHttp . 'api.m.huaml.com';
|
|
$config['c'] = $prefixHttp . 'api.m.huaml.com';
|
|
@@ -79,11 +81,13 @@ if (getenv('YII_ENV') == 'development') {
|
|
|
$config['b'] = $prefixHttp . 'api.h.huaml.com';
|
|
$config['b'] = $prefixHttp . 'api.h.huaml.com';
|
|
|
}
|
|
}
|
|
|
$config['s'] = $prefixHttp . 'api.s.huaml.com';
|
|
$config['s'] = $prefixHttp . 'api.s.huaml.com';
|
|
|
|
|
+ $config['host'] = 'huaml.com';
|
|
|
}
|
|
}
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
$config['c'] = $prefixHttp . 'api.m.huahb.com';
|
|
$config['c'] = $prefixHttp . 'api.m.huahb.com';
|
|
|
$config['b'] = $prefixHttp . 'api.b.huahb.com';
|
|
$config['b'] = $prefixHttp . 'api.b.huahb.com';
|
|
|
$config['b'] = $prefixHttp . 'api.h.huahb.com';
|
|
$config['b'] = $prefixHttp . 'api.h.huahb.com';
|
|
|
$config['s'] = $prefixHttp . 'api.s.huahb.com';
|
|
$config['s'] = $prefixHttp . 'api.s.huahb.com';
|
|
|
|
|
+ $config['host'] = 'huahb.com';
|
|
|
}
|
|
}
|
|
|
return $config;
|
|
return $config;
|