|
@@ -1,121 +1,121 @@
|
|
|
-<?php declare(strict_types=1);
|
|
|
-defined('InShopNC') or exit('Access Invalid!');
|
|
|
-
|
|
|
-define('USE_REMOTE_IMAGE',false);
|
|
|
-define('DEBUG_MODE',true);
|
|
|
-define('MOBILE_PUBLISH',false);
|
|
|
-define('PUSH_OMS',true);
|
|
|
-define('LOCAL_DEBUG',false);
|
|
|
-define('BONUS_EXPIRY_DATE',true);
|
|
|
-define('USE_BONUS_RATE',false);
|
|
|
-define('SERVER_TYPE','panda');
|
|
|
-define('CROSS_DOAMIN',true);
|
|
|
-define('COOKIE_DOMAIN','192.168.1.232');
|
|
|
-define('COMPANY_NAME', 'XYZ_COMPANY');
|
|
|
-define('NET_IP','125.33.203.108');
|
|
|
-
|
|
|
-$SRV_HOST = 'http://192.168.1.232';
|
|
|
-$REMOTE_IMG_HOST = $SRV_HOST;
|
|
|
-
|
|
|
-$config = [];
|
|
|
-$config['base_site_url'] = $SRV_HOST;
|
|
|
-$config['client_site_url'] = $SRV_HOST;
|
|
|
-$config['shop_site_url'] = $SRV_HOST.'/shop';
|
|
|
-$config['cms_site_url'] = $SRV_HOST.'/cms';
|
|
|
-$config['microshop_site_url'] = $SRV_HOST.'/microshop';
|
|
|
-$config['circle_site_url'] = $SRV_HOST.'/circle';
|
|
|
-$config['admin_site_url'] = $SRV_HOST.'/admin';
|
|
|
-$config['mobile_site_url'] = $SRV_HOST.'/mobile';
|
|
|
-$config['wap_site_url'] = $SRV_HOST.'/wap';
|
|
|
-$config['chat_site_url'] = $SRV_HOST.'/chat';
|
|
|
-$config['node_site_url'] = 'http://127.0.0.1:8090';
|
|
|
-$config['delivery_site_url'] = $SRV_HOST.'/delivery';
|
|
|
-//$config['system_manager_phones'] = [
|
|
|
-// '13911129867' , '18500608333' , '18500350111' , '15136908757'
|
|
|
-//];
|
|
|
-$config['system_manager_phones'] = [
|
|
|
-// '17801048874' , '17611378259'
|
|
|
-];
|
|
|
-
|
|
|
-if(defined('USE_REMOTE_IMAGE') && USE_REMOTE_IMAGE == true) {
|
|
|
- $config['upload_site_url'] = $REMOTE_IMG_HOST.'/data/upload';
|
|
|
- $config['resource_site_url'] = $REMOTE_IMG_HOST.'/data/resource';
|
|
|
-} else {
|
|
|
- $config['upload_site_url'] = $SRV_HOST.'/data/upload';
|
|
|
- $config['resource_site_url'] = $SRV_HOST.'/data/resource';
|
|
|
-}
|
|
|
-
|
|
|
-$config['version'] = '201502020388';
|
|
|
-$config['setup_date'] = '2015-08-22 15:52:34';
|
|
|
-$config['gip'] = 0;
|
|
|
-$config['dbdriver'] = 'mysqli';
|
|
|
-$config['tablepre'] = 'lrlz_';
|
|
|
-
|
|
|
-$config['db'][1]['dbhost'] = 'host.docker.internal';
|
|
|
-$config['db'][1]['dbport'] = '3306';
|
|
|
-$config['db'][1]['dbuser'] = 'root';
|
|
|
-$config['db'][1]['dbpwd'] = 'root';
|
|
|
-$config['db'][1]['dbname'] = 'xyzshop';
|
|
|
-$config['db'][1]['dbcharset'] = 'UTF-8';
|
|
|
-
|
|
|
-$config['db']['slave'][0]['dbhost'] = 'host.docker.internal';
|
|
|
-$config['db']['slave'][0]['dbport'] = '3306';
|
|
|
-$config['db']['slave'][0]['dbuser'] = 'root';
|
|
|
-$config['db']['slave'][0]['dbpwd'] = 'root';
|
|
|
-$config['db']['slave'][0]['dbname'] = 'xyzshop';
|
|
|
-$config['db']['slave'][0]['dbcharset'] = 'UTF-8';
|
|
|
-
|
|
|
-$config['session_expire'] = 3600;
|
|
|
-$config['lang_type'] = 'zh_cn';
|
|
|
-$config['cookie_pre'] = '6B0C_';
|
|
|
-$config['thumb']['cut_type'] = 'gd';
|
|
|
-$config['thumb']['impath'] = '';
|
|
|
-
|
|
|
-$config['cache']['type'] = 'redis';
|
|
|
-$config['redis']['prefix'] = 'nc_';
|
|
|
-$config['redis']['master']['host'] = 'tcp://redisrv';
|
|
|
-$config['redis']['master']['port'] = 6379;
|
|
|
-$config['redis']['master']['pconnect'] = 0;
|
|
|
-$config['redis']['slave']['host'] = 'tcp://redisrv';
|
|
|
-$config['redis']['slave']['port'] = 6379;
|
|
|
-$config['redis']['slave']['pconnect'] = 0;
|
|
|
-
|
|
|
-
|
|
|
-//$config['fullindexer']['open'] = false;
|
|
|
-//$config['fullindexer']['appname'] = '33hao';
|
|
|
-$config['debug'] = false;
|
|
|
-$config['default_store_id'] = '1';
|
|
|
-//如果开始伪静态,这里设置为true
|
|
|
-$config['url_model'] = false;
|
|
|
-
|
|
|
-//如果店铺开启二级域名绑定的,这里填写主域名如baidu.com
|
|
|
-$config['subdomain_suffix'] = '';
|
|
|
-$config['session_type'] = 'redis';
|
|
|
-$config['session_save_path'] = 'tcp://redisrv:6379';
|
|
|
-$config['node_chat'] = true;
|
|
|
-
|
|
|
-//流量记录表数量,为1~10之间的数字,默认为3,数字设置完成后请不要轻易修改,否则可能造成流量统计功能数据错误
|
|
|
-$config['flowstat_tablenum'] = 3;
|
|
|
-$config['sms']['gwUrl'] = 'http://sdkhttp.eucp.b2m.cn/sdk/SDKService';
|
|
|
-$config['sms']['serialNumber'] = '';
|
|
|
-$config['sms']['password'] = '';
|
|
|
-$config['sms']['sessionKey'] = '';
|
|
|
-
|
|
|
-$config['queue']['open'] = true;
|
|
|
-$config['queue']['host'] = 'tcp://redisrv';
|
|
|
-$config['queue']['port'] = 6379;
|
|
|
-$config['cache_open'] = true;
|
|
|
-
|
|
|
-$config['return_address'] = ['address' => '上海市金山区朱吕公路7335号','name' => "大熊猫(丽帆供应链)",'tel_phone' => '17301603655','zip_code' => '201600'];
|
|
|
-$config['area_version'] = 5;
|
|
|
-$config['appjump_prefix'] = 'xyzshop://www.xyzshops.com';
|
|
|
-
|
|
|
-$config['client_setting'] = ['running' => 174,'home' => 0];
|
|
|
-
|
|
|
-$config['refill_specs'] = [
|
|
|
- 'petrochina' => [100 , 200 , 500 , 1000 , 2000],
|
|
|
- 'sinopec' => [100 , 200 , 500 , 1000 , 2000],
|
|
|
- 'chinamobile' => [10 , 20 , 30 , 50 , 100 , 200 , 500 , 1000],
|
|
|
- 'chinaunicom' => [10 , 20 , 30 , 50 , 100 , 200 , 500 , 1000],
|
|
|
- 'chinatelecom' => [10 , 20 , 30 , 50 , 100 , 200 , 500 , 1000]
|
|
|
+<?php declare(strict_types=1);
|
|
|
+defined('InShopNC') or exit('Access Invalid!');
|
|
|
+
|
|
|
+define('USE_REMOTE_IMAGE',false);
|
|
|
+define('DEBUG_MODE',true);
|
|
|
+define('MOBILE_PUBLISH',false);
|
|
|
+define('PUSH_OMS',true);
|
|
|
+define('LOCAL_DEBUG',false);
|
|
|
+define('BONUS_EXPIRY_DATE',true);
|
|
|
+define('USE_BONUS_RATE',false);
|
|
|
+define('SERVER_TYPE','panda');
|
|
|
+define('CROSS_DOAMIN',true);
|
|
|
+define('COOKIE_DOMAIN','192.168.1.218');
|
|
|
+define('COMPANY_NAME', 'XYZ_COMPANY');
|
|
|
+define('NET_IP','125.33.203.108');
|
|
|
+
|
|
|
+$SRV_HOST = 'http://192.168.1.218';
|
|
|
+$REMOTE_IMG_HOST = $SRV_HOST;
|
|
|
+
|
|
|
+$config = [];
|
|
|
+$config['base_site_url'] = $SRV_HOST;
|
|
|
+$config['client_site_url'] = $SRV_HOST;
|
|
|
+$config['shop_site_url'] = $SRV_HOST.'/shop';
|
|
|
+$config['cms_site_url'] = $SRV_HOST.'/cms';
|
|
|
+$config['microshop_site_url'] = $SRV_HOST.'/microshop';
|
|
|
+$config['circle_site_url'] = $SRV_HOST.'/circle';
|
|
|
+$config['admin_site_url'] = $SRV_HOST.'/admin';
|
|
|
+$config['mobile_site_url'] = $SRV_HOST.'/mobile';
|
|
|
+$config['wap_site_url'] = $SRV_HOST.'/wap';
|
|
|
+$config['chat_site_url'] = $SRV_HOST.'/chat';
|
|
|
+$config['node_site_url'] = 'http://127.0.0.1:8090';
|
|
|
+$config['delivery_site_url'] = $SRV_HOST.'/delivery';
|
|
|
+//$config['system_manager_phones'] = [
|
|
|
+// '13911129867' , '18500608333' , '18500350111' , '15136908757'
|
|
|
+//];
|
|
|
+$config['system_manager_phones'] = [
|
|
|
+// '17801048874' , '17611378259'
|
|
|
+];
|
|
|
+
|
|
|
+if(defined('USE_REMOTE_IMAGE') && USE_REMOTE_IMAGE == true) {
|
|
|
+ $config['upload_site_url'] = $REMOTE_IMG_HOST.'/data/upload';
|
|
|
+ $config['resource_site_url'] = $REMOTE_IMG_HOST.'/data/resource';
|
|
|
+} else {
|
|
|
+ $config['upload_site_url'] = $SRV_HOST.'/data/upload';
|
|
|
+ $config['resource_site_url'] = $SRV_HOST.'/data/resource';
|
|
|
+}
|
|
|
+
|
|
|
+$config['version'] = '201502020388';
|
|
|
+$config['setup_date'] = '2015-08-22 15:52:34';
|
|
|
+$config['gip'] = 0;
|
|
|
+$config['dbdriver'] = 'mysqli';
|
|
|
+$config['tablepre'] = 'lrlz_';
|
|
|
+
|
|
|
+$config['db'][1]['dbhost'] = 'host.docker.internal';
|
|
|
+$config['db'][1]['dbport'] = '3306';
|
|
|
+$config['db'][1]['dbuser'] = 'root';
|
|
|
+$config['db'][1]['dbpwd'] = 'root';
|
|
|
+$config['db'][1]['dbname'] = 'xyzshop';
|
|
|
+$config['db'][1]['dbcharset'] = 'UTF-8';
|
|
|
+
|
|
|
+$config['db']['slave'][0]['dbhost'] = 'host.docker.internal';
|
|
|
+$config['db']['slave'][0]['dbport'] = '3306';
|
|
|
+$config['db']['slave'][0]['dbuser'] = 'root';
|
|
|
+$config['db']['slave'][0]['dbpwd'] = 'root';
|
|
|
+$config['db']['slave'][0]['dbname'] = 'xyzshop';
|
|
|
+$config['db']['slave'][0]['dbcharset'] = 'UTF-8';
|
|
|
+
|
|
|
+$config['session_expire'] = 3600;
|
|
|
+$config['lang_type'] = 'zh_cn';
|
|
|
+$config['cookie_pre'] = '6B0C_';
|
|
|
+$config['thumb']['cut_type'] = 'gd';
|
|
|
+$config['thumb']['impath'] = '';
|
|
|
+
|
|
|
+$config['cache']['type'] = 'redis';
|
|
|
+$config['redis']['prefix'] = 'nc_';
|
|
|
+$config['redis']['master']['host'] = 'tcp://redisrv';
|
|
|
+$config['redis']['master']['port'] = 6379;
|
|
|
+$config['redis']['master']['pconnect'] = 0;
|
|
|
+$config['redis']['slave']['host'] = 'tcp://redisrv';
|
|
|
+$config['redis']['slave']['port'] = 6379;
|
|
|
+$config['redis']['slave']['pconnect'] = 0;
|
|
|
+
|
|
|
+
|
|
|
+//$config['fullindexer']['open'] = false;
|
|
|
+//$config['fullindexer']['appname'] = '33hao';
|
|
|
+$config['debug'] = false;
|
|
|
+$config['default_store_id'] = '1';
|
|
|
+//如果开始伪静态,这里设置为true
|
|
|
+$config['url_model'] = false;
|
|
|
+
|
|
|
+//如果店铺开启二级域名绑定的,这里填写主域名如baidu.com
|
|
|
+$config['subdomain_suffix'] = '';
|
|
|
+$config['session_type'] = 'redis';
|
|
|
+$config['session_save_path'] = 'tcp://redisrv:6379';
|
|
|
+$config['node_chat'] = true;
|
|
|
+
|
|
|
+//流量记录表数量,为1~10之间的数字,默认为3,数字设置完成后请不要轻易修改,否则可能造成流量统计功能数据错误
|
|
|
+$config['flowstat_tablenum'] = 3;
|
|
|
+$config['sms']['gwUrl'] = 'http://sdkhttp.eucp.b2m.cn/sdk/SDKService';
|
|
|
+$config['sms']['serialNumber'] = '';
|
|
|
+$config['sms']['password'] = '';
|
|
|
+$config['sms']['sessionKey'] = '';
|
|
|
+
|
|
|
+$config['queue']['open'] = true;
|
|
|
+$config['queue']['host'] = 'tcp://redisrv';
|
|
|
+$config['queue']['port'] = 6379;
|
|
|
+$config['cache_open'] = true;
|
|
|
+
|
|
|
+$config['return_address'] = ['address' => '上海市金山区朱吕公路7335号','name' => "大熊猫(丽帆供应链)",'tel_phone' => '17301603655','zip_code' => '201600'];
|
|
|
+$config['area_version'] = 5;
|
|
|
+$config['appjump_prefix'] = 'xyzshop://www.xyzshops.com';
|
|
|
+
|
|
|
+$config['client_setting'] = ['running' => 174,'home' => 0];
|
|
|
+
|
|
|
+$config['refill_specs'] = [
|
|
|
+ 'petrochina' => [100 , 200 , 500 , 1000 , 2000],
|
|
|
+ 'sinopec' => [100 , 200 , 500 , 1000 , 2000],
|
|
|
+ 'chinamobile' => [10 , 20 , 30 , 50 , 100 , 200 , 500 , 1000],
|
|
|
+ 'chinaunicom' => [10 , 20 , 30 , 50 , 100 , 200 , 500 , 1000],
|
|
|
+ 'chinatelecom' => [10 , 20 , 30 , 50 , 100 , 200 , 500 , 1000]
|
|
|
];
|