Browse Source

modify config file

stanley-king 4 years ago
parent
commit
ec4fbe75f9

+ 97 - 0
data/config/dev/base.ini.php

@@ -0,0 +1,97 @@
+<?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('LOCAL_DOMAIN','192.168.1.200');
+
+$config = [];
+$SRV_HOST = 'http://192.168.1.200';
+$REMOTE_IMG_HOST = $SRV_HOST;
+
+$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';
+
+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']        = '55668899';
+$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']      = '55668899';
+$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']     	= 'redisrv';
+$config['redis']['master']['port']     	= 6379;
+$config['redis']['master']['pconnect'] 	= 0;
+$config['redis']['slave']      	      = [];
+//$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'] = 'redisrv';
+$config['queue']['port'] = 6379;
+$config['cache_open']    = true;
+$config['delivery_site_url']    = $SRV_HOST.'/delivery';
+
+$config['return_address'] = ['address' => '上海市金山区朱吕公路7335号','name' => "大熊猫(丽帆供应链)",'tel_phone' => '17301603655','zip_code' => '201600'];
+$config['area_version'] = 5;

+ 75 - 0
data/config/dev/pay.ini.php

@@ -0,0 +1,75 @@
+<?php declare(strict_types=1);
+defined('InShopNC') or exit('Access Invalid!');
+
+define('ALIPAY_PATH', BASE_DATA_PATH . '/api/alipay');
+define('ALIPAY_PARTNER', '2088121219613123');
+define('ALIPAY_SELLER_ID', 'napheir.ao@lrlz.com');
+
+define('MINIPAY_WXPAY_APPID',       'wx4139a76ccb1f74b3');
+define('MINIPAY_WXPAY_APPSECRET',   '708ce8faa4ec48ba689b03e8fa7e592c');
+
+define('MINIPAY_WXPAY_MCHID',       '1600686690');
+define('MINIPAY_WXPAY_KEY',         '0f86a4a9b1edb51b1a8d180fa228a157');
+define('MINIPAY_WXPAY_SSLCERT_PATH', '../cert/xyz_cert.pem');
+define('MINIPAY_WXPAY_SSLKEY_PATH',  '../cert/xyz_key.pem');
+
+define('OPENWX_APPID',       'wx24c5645aa986234a');
+define('OPENWX_MCHID',       '1279745801');
+define('OPENWX_KEY',         '0f86a4a9b1edb51b1a7d110fa223a157');
+define('OPENWX_APPSECRET',   '41f93fef3207e917e742b9ebcd540cb2');
+define('OPENWX_SSLCERT_PATH', '../cert/panda_cert.pem');
+define('OPENWX_SSLKEY_PATH',  '../cert/panda_key.pem');
+
+define('SIGN_APPID',       'wx6b42e00ecaade538');
+define('SIGN_APPSECRET',   'ee64233b3144d76217161666f8cb4c86');
+define('AUTHOR_APPID',       'wx6b42e00ecaade538');
+define('AUTHOR_APPSECRET',   'ee64233b3144d76217161666f8cb4c86');
+
+//for panda
+//define(ALIPAY_PATH, BASE_DATA_PATH . '/api/alipay');
+//define(ALIPAY_PARTNER, '2088121219613123');
+//define(ALIPAY_SELLER_ID, 'napheir.ao@lrlz.com');
+//
+//define(MINIPAY_WXPAY_APPID,       'wxfdaeb25e38c4c47e');
+//define(MINIPAY_WXPAY_APPSECRET,   'e5b5055cbc608d10c6de0d877c221270');
+//define(MINIPAY_WXPAY_MCHID,       '1380733702');
+//define(MINIPAY_WXPAY_KEY,         '0f86a4a9b1edb51b1a7d110fa223a157');
+//define(MINIPAY_WXPAY_SSLCERT_PATH, '../cert/panda_cert.pem');
+//define(MINIPAY_WXPAY_SSLKEY_PATH,  '../cert/panda_key.pem');
+//
+//define(OPENWX_APPID,       'wx24c5645aa986234a');
+//define(OPENWX_MCHID,       '1279745801');
+//define(OPENWX_KEY,         '0f86a4a9b1edb51b1a7d110fa223a157');
+//define(OPENWX_APPSECRET,   '41f93fef3207e917e742b9ebcd540cb2');
+//define(OPENWX_SSLCERT_PATH, '../cert/panda_cert.pem');
+//define(OPENWX_SSLKEY_PATH,  '../cert/panda_key.pem');
+//
+//define(SIGN_APPID,       'wx6b42e00ecaade538');
+//define(SIGN_APPSECRET,   'ee64233b3144d76217161666f8cb4c86');
+//define(AUTHOR_APPID,       'wx6b42e00ecaade538');
+//define(AUTHOR_APPSECRET,   'ee64233b3144d76217161666f8cb4c86');
+
+
+//for car
+//define(ALIPAY_PATH, BASE_DATA_PATH . '/api/caralipay');
+//define(ALIPAY_PARTNER, '2088921850833159');
+//define(ALIPAY_SELLER_ID, 'jyc2018168@163.com');
+//
+//define(MINIPAY_WXPAY_APPID,       'wx4054b8152626bae7');
+//define(MINIPAY_WXPAY_APPSECRET,   '77f63e0b8e961b29e9f947ba5f02d0e8');
+//define(MINIPAY_WXPAY_MCHID,       '1500211542');  //'1498498152'
+//define(MINIPAY_WXPAY_KEY,         '2b135842e47ae1935365d43a952cd5b6');
+//define(MINIPAY_WXPAY_SSLCERT_PATH, '../cert/car_cert.pem');
+//define(MINIPAY_WXPAY_SSLKEY_PATH,  '../cert/car_key.pem');
+//
+//define(OPENWX_APPID,       'wx73acdf06232c6a33');
+//define(OPENWX_MCHID,       '1498498152');
+//define(OPENWX_KEY,         '2b135842e47ae1935365d43a952cd5b6');
+//define(OPENWX_APPSECRET,   '92f261a220c79cf3711356ba91d1cb30');
+//define(OPENWX_SSLCERT_PATH, '../cert/car_cert.pem');
+//define(OPENWX_SSLKEY_PATH,  '../cert/car_key.pem');
+//
+//define(SIGN_APPID,       'wxaf698e1cc5f2073b');
+//define(SIGN_APPSECRET,   'da0547505e7bd29a50cdf662cc7b559a');
+//define(AUTHOR_APPID,       'wxaf698e1cc5f2073b');
+//define(AUTHOR_APPSECRET,   'da0547505e7bd29a50cdf662cc7b559a');

+ 24 - 0
data/config/dev/special.ini.php

@@ -0,0 +1,24 @@
+<?php declare(strict_types=1);
+defined('InShopNC') or exit('Access Invalid!');
+
+$config['old_tabs'] = [
+    ['special_id' => 1,'name' => "测试下小雄"],
+    ['special_id' => 53,'name' => "启动页"]];
+$config['old_specials'] = [0,57];
+$config['bonus_match_goods'] = ['special_id' => 69];
+
+//fcodes_specialid 所有赠送的F码列表,banner_id
+$config['autosend_fcodes'] = ['fcodes_spid' => 283,'payconfirm_spid' => 67,'cart_spid' => 65, 'myfcode_sid' => 0,'order_present' => 70];
+$config['goods_sampler'] = ['male' => 295 ,'female' => 296];
+$config['hotlist_image'] = [1 => '1.png',2 => '2.png',3 => '3.png',4 => '4.png',5 => '5.png',6 => '6.png',7 => '7.png',8 => '8.png',9 => '9.png',10 => '10.png'];
+
+//红包价和内买价的差别,描述语
+$config['bonus_gap']   = ['have_gap' => "离员工价¥%s,还差¥%s",'no_gap' => "已达员工价¥%s,下单吧!",'earn_bonus' => 'xmmz://p.lrlz.com/block/special?title=找红包&special_id=304&isSpecial=true'];
+$config['bonus_gapex'] = ['have_gap' => "离红包价¥%s,还差¥%s",'no_gap' => "已达红包价¥%s,下单吧!",'earn_bonus' => 'xmmz://p.lrlz.com/block/special?title=找红包&special_id=304&isSpecial=true'];
+
+$config['exclude_brands'] = [43,44,138];
+$config['optional_goods'] = [];
+$config['bargain_goods']  = ['special_ids' => [303],'usable_days' => 5,'max_day_count' => 5];
+$config['ugc_banner'] = ['pub' => 269,'friend' => 0, 'mine' => 0];
+$config['bonus_detail_banner'] = ['usable' => [0,0],'expiring' => [0,0],'used' => [0,0],'expired' => [0,0],'send' => [0,0]];
+$config['special_header'] = ['guess_like' => 305];

+ 27 - 0
data/config/dev/srv.ini.php

@@ -0,0 +1,27 @@
+<?php declare(strict_types=1);
+defined('InShopNC') or exit('Access Invalid!');
+
+$config['searcher']['host'] = 'SearchSrv';
+$config['searcher']['port'] = 2000;
+
+$config['relation']['host'] = LOCAL_DOMAIN;
+$config['relation']['port'] = 5000;
+
+$config['room_srv']['host'] = LOCAL_DOMAIN;
+$config['room_srv']['ports'] = [2010];
+
+$config['room_factory']['host'] = LOCAL_DOMAIN;
+$config['room_factory']['port'] = 2002;
+
+$config['room_factory']['rooms_addr'] = [
+    ['host' => LOCAL_DOMAIN,'port' => '2010']
+//    ['host' => '192.168.0.200','port' => '2011']
+//    ['host' => '192.168.0.200','port' => '2012'],
+//    ['host' => '192.168.0.200','port' => '2013'],
+//    ['host' => '192.168.0.200','port' => '2014'],
+];
+
+//$config['access_addr'] = 'wss://panda.lrlz.com:8080';
+$config['access_addr'] = 'ws://192.168.1.200:8080';
+$config['special_rooms'] = ['shake_bonus' => 37];
+$config['room_password'] = '5566889955668899';

+ 9 - 0
data/config/dev/ugcman.config.ini

@@ -0,0 +1,9 @@
+{
+    "DB": {
+        "host": "127.0.0.1",
+        "port": 3306,
+        "name": "pandashop",
+        "user": "root",
+        "passwd": "55668899"
+    }
+}

+ 15 - 0
data/config/dev/vgoods.ini.php

@@ -0,0 +1,15 @@
+<?php
+declare(strict_types=0);
+
+
+$vorder_handlers = [];
+#type:虚拟商品类型,order_method下午单后的自动操作函数,
+#paid_oper 支付完成后的操作类型,auto 表示自动,manual 表示人工点击,paid_method表示点击调用的方法
+#input_params 表示输入必须带的参数。
+
+$vorder_handlers[] =['6217' => ['type' => 'member_card', 'order_method' => '',                 'paid_oper' => 'auto',   'paid_method' => 'OnMCardOrderSuccess', 'input_params' => []],
+                     '6218' => ['type' => 'oil_card',    'order_method' => 'OnAssignOilCard',  'paid_oper' => 'manual', 'paid_method' => 'OnOilOrderSuccess',   'input_params' => ['card_id']],
+                     '6219' => ['type' => 'phone_card',  'order_method' => 'OnAssignPhoneCard','paid_oper' => 'manual', 'paid_method' => 'OnPhoneOrderSuccess', 'input_params' => ['card_id']],
+                    ];
+
+$config['vgoods_handlers'] = $vorder_handlers;

+ 14 - 0
data/config/dev/webacc.config.ini

@@ -0,0 +1,14 @@
+{
+    "room_addrs":[
+            { "host":"192.168.0.200","port":2010}
+            ],
+    "factory_addr": { "host":"192.168.0.200","port":2002},
+    "acc_addr":{"host":"0.0.0.0", "port":8080},
+    "DB": {
+        "host": "127.0.0.1",
+        "port": 3306,
+        "name": "pandashop",
+        "user": "root",
+        "passwd": "55668899"
+    }
+}

+ 99 - 0
data/config/prod/base.ini.php

@@ -0,0 +1,99 @@
+<?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('LOCAL_DOMAIN','www.xyzshops.cn');
+
+$config = [];
+$SRV_HOST = 'http://www.xyzshops.cn/';
+$REMOTE_IMG_HOST = $SRV_HOST;
+
+$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';
+
+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']       = 'docker.hostip';
+$config['db'][1]['dbport']       = '3306';
+$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']     = 'docker.hostip';
+$config['db']['slave'][0]['dbport']     = '3306';
+$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';
+
+$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']     	= 'redisrv';
+$config['redis']['master']['port']     	= 6379;
+$config['redis']['master']['pconnect'] 	= 0;
+$config['redis']['slave']      	      = [];
+
+//$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'] = 'redisrv';
+$config['queue']['port'] = 6379;
+$config['cache_open']    = true;
+$config['delivery_site_url']    = $SRV_HOST.'/delivery';
+$config['return_address'] = ['address' => '上海市金山区朱吕公路7335号','name' => "大熊猫(丽帆供应链)",'tel_phone' => '17301603655','zip_code' => '201600'];
+$config['area_version'] = 5;

+ 26 - 0
data/config/prod/pay.ini.php

@@ -0,0 +1,26 @@
+<?php declare(strict_types=1);
+defined('InShopNC') or exit('Access Invalid!');
+
+define('ALIPAY_PATH', BASE_DATA_PATH . '/api/alipay');
+define('ALIPAY_PARTNER', '2088121219613123');
+define('ALIPAY_SELLER_ID', 'napheir.ao@lrlz.com');
+
+define('MINIPAY_WXPAY_APPID',       'wx4139a76ccb1f74b3');
+define('MINIPAY_WXPAY_APPSECRET',   '708ce8faa4ec48ba689b03e8fa7e592c');
+
+define('MINIPAY_WXPAY_MCHID',       '1600686690');
+define('MINIPAY_WXPAY_KEY',         '0f86a4a9b1edb51b1a8d180fa228a157');
+define('MINIPAY_WXPAY_SSLCERT_PATH', '../cert/xyz_cert.pem');
+define('MINIPAY_WXPAY_SSLKEY_PATH',  '../cert/xyz_key.pem');
+
+define('OPENWX_APPID',       'wx24c5645aa986234a');
+define('OPENWX_MCHID',       '1279745801');
+define('OPENWX_KEY',         '0f86a4a9b1edb51b1a7d110fa223a157');
+define('OPENWX_APPSECRET',   '41f93fef3207e917e742b9ebcd540cb2');
+define('OPENWX_SSLCERT_PATH', '../cert/panda_cert.pem');
+define('OPENWX_SSLKEY_PATH',  '../cert/panda_key.pem');
+
+define('SIGN_APPID',       'wx6b42e00ecaade538');
+define('SIGN_APPSECRET',   'ee64233b3144d76217161666f8cb4c86');
+define('AUTHOR_APPID',       'wx6b42e00ecaade538');
+define('AUTHOR_APPSECRET',   'ee64233b3144d76217161666f8cb4c86');

+ 25 - 0
data/config/prod/special.ini.php

@@ -0,0 +1,25 @@
+<?php declare(strict_types=1);
+
+defined('InShopNC') or exit('Access Invalid!');
+
+$config['old_tabs'] = [
+    ['special_id' => 1,'name' => "测试下小雄"],
+    ['special_id' => 53,'name' => "启动页"]];
+$config['old_specials'] = [0,57];
+$config['bonus_match_goods'] = ['special_id' => 69];
+
+//fcodes_specialid 所有赠送的F码列表,banner_id
+$config['autosend_fcodes'] = ['fcodes_spid' => 283,'payconfirm_spid' => 67,'cart_spid' => 65, 'myfcode_sid' => 0,'order_present' => 70];
+$config['goods_sampler'] = ['male' => 295 ,'female' => 296];
+$config['hotlist_image'] = [1 => '1.png',2 => '2.png',3 => '3.png',4 => '4.png',5 => '5.png',6 => '6.png',7 => '7.png',8 => '8.png',9 => '9.png',10 => '10.png'];
+
+//红包价和内买价的差别,描述语
+$config['bonus_gap']   = ['have_gap' => "离员工价¥%s,还差¥%s",'no_gap' => "已达员工价¥%s,下单吧!",'earn_bonus' => 'xmmz://p.lrlz.com/block/special?title=找红包&special_id=304&isSpecial=true'];
+$config['bonus_gapex'] = ['have_gap' => "离红包价¥%s,还差¥%s",'no_gap' => "已达红包价¥%s,下单吧!",'earn_bonus' => 'xmmz://p.lrlz.com/block/special?title=找红包&special_id=304&isSpecial=true'];
+
+$config['exclude_brands'] = [43,44,138];
+$config['optional_goods'] = [];
+$config['bargain_goods']  = ['special_ids' => [303],'usable_days' => 5,'max_day_count' => 5];
+$config['ugc_banner'] = ['pub' => 269,'friend' => 0, 'mine' => 0];
+$config['bonus_detail_banner'] = ['usable' => [0,0],'expiring' => [0,0],'used' => [0,0],'expired' => [0,0],'send' => [0,0]];
+$config['special_header'] = ['guess_like' => 305];

+ 27 - 0
data/config/prod/srv.ini.php

@@ -0,0 +1,27 @@
+<?php declare(strict_types=1);
+defined('InShopNC') or exit('Access Invalid!');
+
+$config['searcher']['host'] = 'SearchSrv';
+$config['searcher']['port'] = 2000;
+
+$config['relation']['host'] = LOCAL_DOMAIN;
+$config['relation']['port'] = 5000;
+
+$config['room_srv']['host'] = LOCAL_DOMAIN;
+$config['room_srv']['ports'] = [2010];
+
+$config['room_factory']['host'] = LOCAL_DOMAIN;
+$config['room_factory']['port'] = 2002;
+
+$config['room_factory']['rooms_addr'] = [
+    ['host' => LOCAL_DOMAIN,'port' => '2010']
+//    ['host' => '192.168.0.200','port' => '2011']
+//    ['host' => '192.168.0.200','port' => '2012'],
+//    ['host' => '192.168.0.200','port' => '2013'],
+//    ['host' => '192.168.0.200','port' => '2014'],
+];
+
+//$config['access_addr'] = 'wss://panda.lrlz.com:8080';
+$config['access_addr'] = 'ws://192.168.1.200:8080';
+$config['special_rooms'] = ['shake_bonus' => 37];
+$config['room_password'] = '5566889955668899';

+ 9 - 0
data/config/prod/ugcman.config.ini

@@ -0,0 +1,9 @@
+{
+    "DB": {
+        "host": "127.0.0.1",
+        "port": 3306,
+        "name": "pandashop",
+        "user": "root",
+        "passwd": "55668899"
+    }
+}

+ 15 - 0
data/config/prod/vgoods.ini.php

@@ -0,0 +1,15 @@
+<?php
+declare(strict_types=0);
+
+
+$vorder_handlers = [];
+#type:虚拟商品类型,order_method下午单后的自动操作函数,
+#paid_oper 支付完成后的操作类型,auto 表示自动,manual 表示人工点击,paid_method表示点击调用的方法
+#input_params 表示输入必须带的参数。
+
+$vorder_handlers[] =['6217' => ['type' => 'member_card', 'order_method' => '',                 'paid_oper' => 'auto',   'paid_method' => 'OnMCardOrderSuccess', 'input_params' => []],
+                     '6218' => ['type' => 'oil_card',    'order_method' => 'OnAssignOilCard',  'paid_oper' => 'manual', 'paid_method' => 'OnOilOrderSuccess',   'input_params' => ['card_id']],
+                     '6219' => ['type' => 'phone_card',  'order_method' => 'OnAssignPhoneCard','paid_oper' => 'manual', 'paid_method' => 'OnPhoneOrderSuccess', 'input_params' => ['card_id']],
+                    ];
+
+$config['vgoods_handlers'] = $vorder_handlers;

+ 14 - 0
data/config/prod/webacc.config.ini

@@ -0,0 +1,14 @@
+{
+    "room_addrs":[
+            { "host":"192.168.0.200","port":2010}
+            ],
+    "factory_addr": { "host":"192.168.0.200","port":2002},
+    "acc_addr":{"host":"0.0.0.0", "port":8080},
+    "DB": {
+        "host": "127.0.0.1",
+        "port": 3306,
+        "name": "pandashop",
+        "user": "root",
+        "passwd": "55668899"
+    }
+}