|
|
@@ -61,34 +61,40 @@ if (getenv('YII_ENV') == 'local') {
|
|
|
$config['b'] = $prefixHttp . 'api.h.hhb.com';
|
|
|
}
|
|
|
$config['s'] = $prefixHttp . 'api.s.hhb.com';
|
|
|
+ $config['w'] = $prefixHttp . 'api.w.hhb.com';
|
|
|
$config['host'] = 'hhb.com';
|
|
|
$config['imgUrl'] = $prefixHttp . 'img.hhb.com';
|
|
|
}
|
|
|
if (getenv('YII_ENV') == 'test') {
|
|
|
- $config['c'] = $prefixHttp . 'api.m.huaml.com';
|
|
|
- $config['b'] = $prefixHttp . 'api.b.huaml.com';
|
|
|
+ $config['c'] = $prefixHttp . 'api.m.hzghd.com';
|
|
|
+ $config['b'] = $prefixHttp . 'api.b.hzghd.com';
|
|
|
if (strpos($referrer, $prefixHttp . 'h') === true || strpos($referrer, $prefixHttp . 'api.h') === true) {
|
|
|
- $config['b'] = $prefixHttp . 'api.h.huaml.com';
|
|
|
+ $config['b'] = $prefixHttp . 'api.h.hzghd.com';
|
|
|
}
|
|
|
- $config['s'] = $prefixHttp . 'api.s.huaml.com';
|
|
|
- $config['host'] = 'huaml.com';
|
|
|
- $config['imgUrl'] = $prefixHttp . 'img.huaml.com';
|
|
|
+ $config['s'] = $prefixHttp . 'api.s.hzghd.com';
|
|
|
+ $config['w'] = $prefixHttp . 'api.w.hzghd.com';
|
|
|
+ $config['host'] = 'hzghd.com';
|
|
|
+ $config['imgUrl'] = $prefixHttp . 'img.hzghd.com';
|
|
|
}
|
|
|
-if (getenv('YII_ENV') == 'development') {
|
|
|
+if (getenv('YII_ENV') == 'dev') {
|
|
|
$config['c'] = $prefixHttp . 'api.m.huaml.com';
|
|
|
$config['b'] = $prefixHttp . 'api.b.huaml.com';
|
|
|
if (strpos($referrer, $prefixHttp . 'h') === true || strpos($referrer, $prefixHttp . 'api.h') === true) {
|
|
|
$config['b'] = $prefixHttp . 'api.h.huaml.com';
|
|
|
}
|
|
|
$config['s'] = $prefixHttp . 'api.s.huaml.com';
|
|
|
+ $config['w'] = $prefixHttp . 'api.w.huaml.com';
|
|
|
$config['host'] = 'huaml.com';
|
|
|
$config['imgUrl'] = $prefixHttp . 'img.huaml.com';
|
|
|
}
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
$config['c'] = $prefixHttp . 'api.m.huahb.com';
|
|
|
$config['b'] = $prefixHttp . 'api.b.huahb.com';
|
|
|
- $config['b'] = $prefixHttp . 'api.h.huahb.com';
|
|
|
+ if (strpos($referrer, $prefixHttp . 'h') === true || strpos($referrer, $prefixHttp . 'api.h') === true) {
|
|
|
+ $config['b'] = $prefixHttp . 'api.h.huahb.com';
|
|
|
+ }
|
|
|
$config['s'] = $prefixHttp . 'api.s.huahb.com';
|
|
|
+ $config['w'] = $prefixHttp . 'api.w.huahb.com';
|
|
|
$config['host'] = 'huahb.com';
|
|
|
$config['imgUrl'] = $prefixHttp . 'img.huahb.com';
|
|
|
}
|