123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?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('COMPANY_NAME', 'XYZ_COMPANY');
- define('ZERO_GOODS_ID', 6405);
- $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'
- ];
- 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_';
- define('SSH_TUNEL_PROD','local');
- //define('SSH_TUNEL_PROD','xyz');
- //define('SSH_TUNEL_PROD','lingzh');
- if(SSH_TUNEL_PROD ==='local') {
- $config['db'][1]['dbhost'] = MASTER_DBHOST;
- $config['db'][1]['dbport'] = '3306';
- $config['db'][1]['dbuser'] = 'root';
- $config['db'][1]['dbpwd'] = 'stanley@55668899';
- $config['db'][1]['dbname'] = 'xyzshop';
- $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'] = 'stanley@55668899';
- $config['db']['slave'][0]['dbname'] = 'xyzshop';
- $config['db']['slave'][0]['dbcharset'] = 'UTF-8';
- }
- elseif(SSH_TUNEL_PROD === 'xyz') {
- //调试是先执行这行命令
- //shell_exec("ssh -NCPf root@121.89.223.81 -L 3307:127.0.0.1:3306");
- $config['db'][1]['dbhost'] = MASTER_DBHOST;
- $config['db'][1]['dbport'] = '3307';
- $config['db'][1]['dbuser'] = 'root';
- $config['db'][1]['dbpwd'] = 'XTZ@shop@951688';
- $config['db'][1]['dbname'] = 'xyzshop';
- $config['db'][1]['dbcharset'] = 'UTF-8';
- $config['db']['slave'][0]['dbhost'] = SLAVE_DBHOST;
- $config['db']['slave'][0]['dbport'] = '3307';
- $config['db']['slave'][0]['dbuser'] = 'root';
- $config['db']['slave'][0]['dbpwd'] = 'XTZ@shop@951688';
- $config['db']['slave'][0]['dbname'] = 'xyzshop';
- $config['db']['slave'][0]['dbcharset'] = 'UTF-8';
- }
- elseif(SSH_TUNEL_PROD === 'lingzh') {
- //调试是先执行这行命令
- //shell_exec("ssh -NCPf root@121.89.212.167 -L 3307:127.0.0.1:3306");
- $config['db'][1]['dbhost'] = MASTER_DBHOST;
- $config['db'][1]['dbport'] = '3307';
- $config['db'][1]['dbuser'] = 'root';
- $config['db'][1]['dbpwd'] = 'Linzhuhmnbmhhah#2021';
- $config['db'][1]['dbname'] = 'xyzshop';
- $config['db'][1]['dbcharset'] = 'UTF-8';
- $config['db']['slave'][0]['dbhost'] = SLAVE_DBHOST;
- $config['db']['slave'][0]['dbport'] = '3307';
- $config['db']['slave'][0]['dbuser'] = 'root';
- $config['db']['slave'][0]['dbpwd'] = 'Linzhuhmnbmhhah#2021';
- $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'] = 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'] = 'host.docker.internal';
- $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'] = false;
|