stanley-king před 1 rokem
rodič
revize
2853cf4a48

+ 12 - 1
admin/config/config.ini.php

@@ -44,7 +44,6 @@ if(defined('COMPANY_NAME') && COMPANY_NAME === 'XYZ_COMPANY')
     ];
 
     $config['WEB_COMPANY_NAME'] = '椰子电子商务责任有限公司';
-
 }
 elseif(defined('COMPANY_NAME') && COMPANY_NAME === 'ZY_COMPANY')
 {
@@ -61,6 +60,18 @@ elseif(defined('COMPANY_NAME') && COMPANY_NAME === 'ZY_COMPANY')
 
     $config['WEB_COMPANY_NAME'] = '北京榜样在线科技有限公司';
 }
+elseif(defined('COMPANY_NAME') && COMPANY_NAME === 'YOUJUN_COMPANY')
+{
+    $config['receive_bank'] = [
+    ];
+
+    $config['test_mchid'] = [
+
+    ];
+
+    $config['WEB_COMPANY_NAME'] = '上海酉俊科技有限公司';
+}
+
 else
 {
     $config['receive_bank'] = [

+ 0 - 117
data/config/youjun/base.ini.php

@@ -1,117 +0,0 @@
-<?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', 'YOUJUN_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');
-//define('SSH_TUNEL_PROD','xyztest');
-
-$config['db'][1]['dbhost']       = MASTER_DBHOST;
-$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']     = SLAVE_DBHOST;
-$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']     	= 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'] = false;

+ 0 - 81
data/config/youjun/pay.ini.php

@@ -1,81 +0,0 @@
-<?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',   'bfb69da3191367f3e4f377b4d8946933');
-
-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('WX_MCHID',       '1279745801');
-define('WX_MCHKEY',         '0f86a4a9b1edb51b1a7d110fa223a157');
-define('OPENWX_APPSECRET',   '41f93fef3207e917e742b9ebcd540cb2');
-define('WX_SSLCERT_PATH', '../cert/panda_cert.pem');
-define('WX_SSLKEY_PATH',  '../cert/panda_key.pem');
-
-
-//H5端,用户身份信息授权用的,数据来自 公众号->设置->基本配置
-//SIGN_APPID 和 AUTHOR_APPID是相同的.
-define('PUB_APPID',       'wx38f1d15c5337e89b');
-define('PUB_APPSECRET',   'fd6436e7427476dbe71a6333b3b02a96');
-
-define('PUB_APPID',       'wx38f1d15c5337e89b');
-define('PUB_APPSECRET',   'fd6436e7427476dbe71a6333b3b02a96');
-
-//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(WX_MCHID,       '1279745801');
-//define(WX_MCHKEY,         '0f86a4a9b1edb51b1a7d110fa223a157');
-//define(OPENWX_APPSECRET,   '41f93fef3207e917e742b9ebcd540cb2');
-//define(WX_SSLCERT_PATH, '../cert/panda_cert.pem');
-//define(WX_SSLKEY_PATH,  '../cert/panda_key.pem');
-//
-//define(PUB_APPID,       'wx6b42e00ecaade538');
-//define(PUB_APPSECRET,   'ee64233b3144d76217161666f8cb4c86');
-//define(PUB_APPID,       'wx6b42e00ecaade538');
-//define(PUB_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_APPSECRET,   '92f261a220c79cf3711356ba91d1cb30');
-
-//define(WX_MCHID,       '1498498152');
-//define(WX_MCHKEY,         '2b135842e47ae1935365d43a952cd5b6');
-//define(WX_SSLCERT_PATH, '../cert/car_cert.pem');
-//define(WX_SSLKEY_PATH,  '../cert/car_key.pem');
-//
-//define(PUB_APPID,       'wxaf698e1cc5f2073b');
-//define(PUB_APPSECRET,   'da0547505e7bd29a50cdf662cc7b559a');
-//define(PUB_APPID,       'wxaf698e1cc5f2073b');
-//define(PUB_APPSECRET,   'da0547505e7bd29a50cdf662cc7b559a');

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 6591
data/config/youjun/refill.ini.php


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 1458
data/config/youjun/refill.ini.php.bak


+ 0 - 26
data/config/youjun/special.ini.php

@@ -1,26 +0,0 @@
-<?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];
-
-$config['special_pay_success'] = 1036;

+ 0 - 29
data/config/youjun/srv.ini.php

@@ -1,29 +0,0 @@
-<?php declare(strict_types=1);
-defined('InShopNC') or exit('Access Invalid!');
-
-define('LOCAL_DOMAIN','192.168.1.200');
-
-$config['searcher']['host'] = 'searcher';
-$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';

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

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

+ 0 - 92
data/config/youjun/vgoods.ini.php

@@ -1,92 +0,0 @@
-<?php
-declare(strict_types=0);
-
-$config['exclude_preferential_goods_ids'] = [6217];
-$config['card_commonid'] = ['oil' => 3449, 'phone' => 3450];
-$config['vgoods_spec_card'] = [6218 => 100, 6219 => 200, 6220 => 100, 6221 => 200,6224 => 500, 6225 => 1000];
-
-
-//$config['tips'] =  ['first_order' => '首次充值享受会员价95折',
-//                    'vip_first_order' => '会员充值全场95折',
-//                    'none_vip' => '点击右上角分享给好友、升级会员都能享受95折',
-//                    'vip_user' => '点击右上角,分享给好友,一起省钱吧~'];
-
-$handlers = [];
-#type:虚拟商品类型,order_method下午单后的自动操作函数,
-#paid_oper 支付完成后的操作类型,auto 表示自动,manual 表示人工点击,paid_method表示点击调用的方法
-#input_params 表示输入必须带的参数。
-
-#'order_method' 成功下订单事件
-#paid_method 支付成功事件
-#cancel_method 取消订单
-#input_params 下订单是需要检查的参数,并带到extra_info.
-#additional 预先提供的参数
-
-#会员卡 vip_card
-$mcard_params =['type' => 'member_card', 
-                'paid_method' => 'OnMCardPaidSuccess',
-                'additional' => ['card_type' => 'year']];
-$handlers[6217] = $mcard_params;
-
-#oil card
-$oil_params = ['type' => 'oil_card', 'order_check'     => 'OnOilCardCheck',
-                                     'order_method'    => 'OnReserveOilCard',
-                                     'complete_method' => 'OnCardKeyComplete',
-                                     'cancel_method' => 'OnCardKeyCancel',
-                                     'input_params'  => ['card_no','card_type','phone_no']];
-$handlers[6218] = $oil_params;
-$handlers[6219] = $oil_params;
-$handlers[6224] = $oil_params;
-$handlers[6225] = $oil_params;
-
-#phone card
-$phone_card_prams = ['type' => 'phone_card', 'order_check'     => 'OnPhoneCardCheck',
-                                             'order_method'    => 'OnReservePhoneCard',
-                                             'complete_method' => 'OnCardKeyComplete',
-                                             'cancel_method' => 'OnCardKeyCancel',
-                                             'input_params'  => ['card_no','card_type']];
-$handlers[6220] = $phone_card_prams;
-$handlers[6221] = $phone_card_prams;
-
-$config['vgoods_handlers'] = $handlers;
-
-//6220 话费 amount = 100
-$share_policy[6220] = [
-    ['num' => 1,  'discount' => 0.05,'price' => 0.95]
-];
-
-//6220 话费 amount = 200
-$share_policy[6221] = [
-    ['num' => 3,  'discount' => 0.10,  'price' => 1.90],
-    ['num' => 2,  'discount' => 0.08,  'price' => 1.92],
-    ['num' => 1,  'discount' => 0.05,  'price' => 1.95]
-];
-
-//6220 油费 amount = 100
-$share_policy[6218] = [
-    ['num' => 1,  'discount' => 0.05, 'price' => 0.95]
-];
-
-//6220 油费 amount = 200
-$share_policy[6219] = [
-    ['num' => 3,  'discount' => 0.10,  'price' => 1.90],
-    ['num' => 2,  'discount' => 0.08,  'price' => 1.92],
-    ['num' => 1,  'discount' => 0.05,  'price' => 1.95]
-];
-
-//6220 油费 amount = 500
-$share_policy[6224] = [
-    ['num' => 3,  'discount' => 0.25,  'price' => 4.75],
-    ['num' => 2,  'discount' => 0.20,  'price' => 4.80],
-    ['num' => 1,  'discount' => 0.15,  'price' => 4.85]
-];
-
-//6220 油费 amount = 1000
-$share_policy[6225] = [
-    ['num' => 5,  'discount' => 0.50,  'price' => 9.50],
-    ['num' => 3,  'discount' => 0.40,  'price' => 9.60],
-    ['num' => 2,  'discount' => 0.30,  'price' => 9.70],
-    ['num' => 1,  'discount' => 0.25,  'price' => 9.75]
-];
-
-$config['goods_share_policy'] = $share_policy;

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

@@ -1,14 +0,0 @@
-{
-    "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"
-    }
-}