base.ini.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?php declare(strict_types=1);
  2. defined('InShopNC') or exit('Access Invalid!');
  3. define('USE_REMOTE_IMAGE',false);
  4. define('DEBUG_MODE',true);
  5. define('MOBILE_PUBLISH',false);
  6. define('PUSH_OMS',true);
  7. define('LOCAL_DEBUG',false);
  8. define('BONUS_EXPIRY_DATE',true);
  9. define('USE_BONUS_RATE',false);
  10. define('SERVER_TYPE','panda');
  11. define('CROSS_DOAMIN',true);
  12. define('COOKIE_DOMAIN','192.168.1.220');
  13. define('NET_IP','111.193.239.143');
  14. $SRV_HOST = 'http://192.168.1.220';
  15. $REMOTE_IMG_HOST = $SRV_HOST;
  16. $config = [];
  17. $config['base_site_url'] = $SRV_HOST;
  18. $config['client_site_url'] = $SRV_HOST;
  19. $config['shop_site_url'] = $SRV_HOST.'/shop';
  20. $config['cms_site_url'] = $SRV_HOST.'/cms';
  21. $config['microshop_site_url'] = $SRV_HOST.'/microshop';
  22. $config['circle_site_url'] = $SRV_HOST.'/circle';
  23. $config['admin_site_url'] = $SRV_HOST.'/admin';
  24. $config['mobile_site_url'] = $SRV_HOST.'/mobile';
  25. $config['wap_site_url'] = $SRV_HOST.'/wap';
  26. $config['chat_site_url'] = $SRV_HOST.'/chat';
  27. $config['node_site_url'] = 'http://127.0.0.1:8090';
  28. $config['delivery_site_url'] = $SRV_HOST.'/delivery';
  29. $config['system_manager_phones'] = [
  30. '13911129867' , '18500608333' , '18500350111' , '15136908757'
  31. ];
  32. if(defined('USE_REMOTE_IMAGE') && USE_REMOTE_IMAGE == true) {
  33. $config['upload_site_url'] = $REMOTE_IMG_HOST.'/data/upload';
  34. $config['resource_site_url'] = $REMOTE_IMG_HOST.'/data/resource';
  35. } else {
  36. $config['upload_site_url'] = $SRV_HOST.'/data/upload';
  37. $config['resource_site_url'] = $SRV_HOST.'/data/resource';
  38. }
  39. $config['version'] = '201502020388';
  40. $config['setup_date'] = '2015-08-22 15:52:34';
  41. $config['gip'] = 0;
  42. $config['dbdriver'] = 'mysqli';
  43. $config['tablepre'] = 'lrlz_';
  44. define('SSH_TUNEL_PROD',false);
  45. if(SSH_TUNEL_PROD === false) {
  46. $config['db'][1]['dbhost'] = 'host.docker.internal';
  47. $config['db'][1]['dbport'] = '3306';
  48. $config['db'][1]['dbuser'] = 'root';
  49. $config['db'][1]['dbpwd'] = '55668899';
  50. $config['db'][1]['dbname'] = 'xyzshop';
  51. $config['db'][1]['dbcharset'] = 'UTF-8';
  52. $config['db']['slave'][0]['dbhost'] = 'host.docker.internal';
  53. $config['db']['slave'][0]['dbport'] = '3306';
  54. $config['db']['slave'][0]['dbuser'] = 'root';
  55. $config['db']['slave'][0]['dbpwd'] = '55668899';
  56. $config['db']['slave'][0]['dbname'] = 'xyzshop';
  57. $config['db']['slave'][0]['dbcharset'] = 'UTF-8';
  58. }
  59. else {
  60. //调试是先执行这行命令
  61. //shell_exec("ssh -NCPf root@121.89.223.81 -L 3307:127.0.0.1:3306");
  62. $config['db'][1]['dbhost'] = 'host.docker.internal';
  63. $config['db'][1]['dbport'] = '3307';
  64. $config['db'][1]['dbuser'] = 'root';
  65. $config['db'][1]['dbpwd'] = 'XTZ@shop@951688';
  66. $config['db'][1]['dbname'] = 'xyzshop';
  67. $config['db'][1]['dbcharset'] = 'UTF-8';
  68. $config['db']['slave'][0]['dbhost'] = 'host.docker.internal';
  69. $config['db']['slave'][0]['dbport'] = '3307';
  70. $config['db']['slave'][0]['dbuser'] = 'root';
  71. $config['db']['slave'][0]['dbpwd'] = 'XTZ@shop@951688';
  72. $config['db']['slave'][0]['dbname'] = 'xyzshop';
  73. $config['db']['slave'][0]['dbcharset'] = 'UTF-8';
  74. }
  75. $config['session_expire'] = 3600;
  76. $config['lang_type'] = 'zh_cn';
  77. $config['cookie_pre'] = '6B0C_';
  78. $config['thumb']['cut_type'] = 'gd';
  79. $config['thumb']['impath'] = '';
  80. $config['cache']['type'] = 'redis';
  81. $config['redis']['prefix'] = 'nc_';
  82. $config['redis']['master']['host'] = 'tcp://redisrv';
  83. $config['redis']['master']['port'] = 6379;
  84. $config['redis']['master']['pconnect'] = 0;
  85. $config['redis']['slave']['host'] = 'tcp://redisrv';
  86. $config['redis']['slave']['port'] = 6379;
  87. $config['redis']['slave']['pconnect'] = 0;
  88. //$config['fullindexer']['open'] = false;
  89. //$config['fullindexer']['appname'] = '33hao';
  90. $config['debug'] = false;
  91. $config['default_store_id'] = '1';
  92. //如果开始伪静态,这里设置为true
  93. $config['url_model'] = false;
  94. //如果店铺开启二级域名绑定的,这里填写主域名如baidu.com
  95. $config['subdomain_suffix'] = '';
  96. $config['session_type'] = 'redis';
  97. $config['session_save_path'] = 'tcp://redisrv:6379';
  98. $config['node_chat'] = true;
  99. //流量记录表数量,为1~10之间的数字,默认为3,数字设置完成后请不要轻易修改,否则可能造成流量统计功能数据错误
  100. $config['flowstat_tablenum'] = 3;
  101. $config['sms']['gwUrl'] = 'http://sdkhttp.eucp.b2m.cn/sdk/SDKService';
  102. $config['sms']['serialNumber'] = '';
  103. $config['sms']['password'] = '';
  104. $config['sms']['sessionKey'] = '';
  105. $config['queue']['open'] = true;
  106. $config['queue']['host'] = 'tcp://redisrv';
  107. $config['queue']['port'] = 6379;
  108. $config['cache_open'] = true;
  109. $config['return_address'] = ['address' => '上海市金山区朱吕公路7335号','name' => "大熊猫(丽帆供应链)",'tel_phone' => '17301603655','zip_code' => '201600'];
  110. $config['area_version'] = 5;
  111. $config['appjump_prefix'] = 'xyzshop://www.xyzshops.com';
  112. $config['client_setting'] = ['running' => 174,'home' => 0];
  113. $config['wsd_bradge_port'] = 60987;
  114. $config['card_key_stores'] = [6];