base.ini.php 4.7 KB

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