|
|
@@ -41,13 +41,13 @@ $config = [
|
|
|
'pageSize' => 20,
|
|
|
|
|
|
//aliyun oss ak
|
|
|
- 'accessKeyId'=>'LTAI4GCXNRgt87qnCB8JrGFt',
|
|
|
- 'accessKeySecret'=>'m5q7aU3wGcoid9wr0yFJ4JqzHMKfks',
|
|
|
- 'endpoint'=>'oss-cn-hangzhou.aliyuncs.com',
|
|
|
+ 'accessKeyId' => 'LTAI4GCXNRgt87qnCB8JrGFt',
|
|
|
+ 'accessKeySecret' => 'm5q7aU3wGcoid9wr0yFJ4JqzHMKfks',
|
|
|
+ 'endpoint' => 'oss-cn-hangzhou.aliyuncs.com',
|
|
|
|
|
|
//达达相关配置
|
|
|
- 'dadaAppKey'=>'dadae6c9d6064e69cf4',
|
|
|
- 'dadaAppSecret'=>'8ed3b159f64021003aa73f7233118fe6',
|
|
|
+ 'dadaAppKey' => 'dadae6c9d6064e69cf4',
|
|
|
+ 'dadaAppSecret' => '8ed3b159f64021003aa73f7233118fe6',
|
|
|
];
|
|
|
|
|
|
$prefixHttp = 'http://';
|
|
|
@@ -133,25 +133,25 @@ if (getenv('YII_ENV') == 'dev') {
|
|
|
|
|
|
}
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
- $config['hdHost'] = $prefixHttp . 'api.shop.huahb.com';
|
|
|
- $config['hdDomain'] = $prefixHttp . 'shop.huahb.com';
|
|
|
- $config['hdPtHost'] = $prefixHttp . 'api.pt.huahb.com';
|
|
|
- $config['hdShortHost'] = 'huahb.com';
|
|
|
- $config['hdImgHost'] = $prefixHttp . 'img.huahb.com/';
|
|
|
-
|
|
|
- $config['ghsHost'] = $prefixHttp . 'api.shop.huahb.cn';
|
|
|
- $config['ghsDomain'] = $prefixHttp . 'shop.huahb.cn';
|
|
|
- $config['ghsPtHost'] = $prefixHttp . 'api.pt.huahb.cn';
|
|
|
- $config['ghsShortHost'] = 'huahb.cn';
|
|
|
- $config['ghsImgHost'] = $prefixHttp . 'img.huahb.cn/';
|
|
|
-
|
|
|
- $config['mallHost'] = $prefixHttp . 'api.shop.zhhinc.com';
|
|
|
- $config['mallDomain'] = $prefixHttp . 'shop.zhhinc.com';
|
|
|
- $config['mallPtHost'] = $prefixHttp . 'api.pt.zhhinc.com';
|
|
|
- $config['mallShortHost'] = 'zhhinc.com';
|
|
|
- $config['mallImgHost'] = $prefixHttp . 'img.zhhinc.com/';
|
|
|
-
|
|
|
- $config['ossBucket'] = 'pic-hhb';
|
|
|
+ $config['hdHost'] = $prefixHttp . 'api.shop.huahb.cn';
|
|
|
+ $config['hdDomain'] = $prefixHttp . 'shop.huahb.cn';
|
|
|
+ $config['hdPtHost'] = $prefixHttp . 'api.pt.huahb.cn';
|
|
|
+ $config['hdShortHost'] = 'huahb.cn';
|
|
|
+ $config['hdImgHost'] = $prefixHttp . 'img.huahb.cn/';
|
|
|
+
|
|
|
+ $config['ghsHost'] = $prefixHttp . 'api.shop.wixhb.com';
|
|
|
+ $config['ghsDomain'] = $prefixHttp . 'shop.wixhb.com';
|
|
|
+ $config['ghsPtHost'] = $prefixHttp . 'api.pt.wixhb.com';
|
|
|
+ $config['ghsShortHost'] = 'wixhb.com';
|
|
|
+ $config['ghsImgHost'] = $prefixHttp . 'img.wixhb.com/';
|
|
|
+
|
|
|
+ $config['mallHost'] = $prefixHttp . 'api.shop.zhiguanhua.cn';
|
|
|
+ $config['mallDomain'] = $prefixHttp . 'shop.zhiguanhua.cn';
|
|
|
+ $config['mallPtHost'] = $prefixHttp . 'api.pt.zhiguanhua.cn';
|
|
|
+ $config['mallShortHost'] = 'zhiguanhua.cn';
|
|
|
+ $config['mallImgHost'] = $prefixHttp . 'img.zhiguanhua.cn/';
|
|
|
+
|
|
|
+ $config['ossBucket'] = 'pic-hhb-cs';
|
|
|
|
|
|
}
|
|
|
return $config;
|