|
@@ -0,0 +1,123 @@
|
|
|
+<?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',false);
|
|
|
+define('COMPANY_NAME', 'ZY_COMPANY');
|
|
|
+define('ZERO_GOODS_ID', 6405);
|
|
|
+define('ADMIN_NAME', 'YEZI');
|
|
|
+
|
|
|
+$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'] = [
|
|
|
+ '15811535608' , '18500608333' , '18500350111' , '15136908757'
|
|
|
+];
|
|
|
+
|
|
|
+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'] = MASTER_DBHOST;
|
|
|
+$config['db'][1]['dbport'] = '3306';
|
|
|
+$config['db'][1]['dbuser'] = 'root';
|
|
|
+$config['db'][1]['dbpwd'] = 'ZY@shop@951688';
|
|
|
+$config['db'][1]['dbname'] = 'zyshop';
|
|
|
+$config['db'][1]['dbcharset'] = 'UTF-8';
|
|
|
+
|
|
|
+$config['db']['slave'][0]['dbhost'] = SLAVE_DBHOST;
|
|
|
+$config['db']['slave'][0]['dbport'] = '3306';
|
|
|
+$config['db']['slave'][0]['dbuser'] = 'root';
|
|
|
+$config['db']['slave'][0]['dbpwd'] = 'ZY@shop@951688';
|
|
|
+$config['db']['slave'][0]['dbname'] = 'zyshop';
|
|
|
+$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'] = MASTER_REDISHOST;
|
|
|
+$config['redis']['master']['port'] = 6379;
|
|
|
+$config['redis']['master']['pconnect'] = 0;
|
|
|
+$config['redis']['slave']['host'] = SLAVE_REDISHOST;
|
|
|
+$config['redis']['slave']['port'] = 6379;
|
|
|
+$config['redis']['slave']['pconnect'] = 0;
|
|
|
+
|
|
|
+$config['coroutine']['redis_host'] = COROUTINE_REDISHOST;
|
|
|
+$config['coroutine']['redis_port'] = 6379;
|
|
|
+
|
|
|
+
|
|
|
+//$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'] = SESSION_SAVE_PATH;
|
|
|
+$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'] = QUEUEHOST;
|
|
|
+$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['wsd_bradge_port'] = 60987;
|
|
|
+$config['card_key_stores'] = [6];
|
|
|
+
|
|
|
+$config['phone_life_check'] = true;
|
|
|
+$config['admin_layout_skin'] = 'skin_0';
|
|
|
+$config['fulu_mchid'] = [
|
|
|
+ 10300,10319,10294,10305,10320,10327,10299,10216,10306,10211,10265,10304,10308,10307,10311,10309,10318,10232,10213,10202,10215,
|
|
|
+ 10325,10260,10239,10237,10277,10251,10317,10324,10323,10322,10301,10303,10326,10280,10314,10315,10214,10256,10249,10258,10295,
|
|
|
+ 10285,10286,10230,10282,10255,10291,10275,10254,10276,10328,10329
|
|
|
+];
|