Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e7e9f01f
authored
Aug 13, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整配置
parent
c698381d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
84 deletions
Application/Common/Conf/config.php
Application/Common/Conf/config_db.php
Application/Common/Conf/config.php
View file @
e7e9f01f
...
@@ -5,37 +5,8 @@ return array(
...
@@ -5,37 +5,8 @@ return array(
'VAR_PAGE'
=>
'p'
,
'VAR_PAGE'
=>
'p'
,
'APP_SUB_DOMAIN_DEPLOY'
=>
true
,
'APP_SUB_DOMAIN_DEPLOY'
=>
true
,
'APP_SUB_DOMAIN_RULES'
=>
array
(
'APP_SUB_DOMAIN_RULES'
=>
array
(
'm'
=>
'M'
,
'szm'
=>
'M'
,
'tm'
=>
'M'
,
'ichuntm'
=>
'M'
,
'sc'
=>
'Sc'
,
'bom'
=>
'Bom'
,
'szbom'
=>
'Bom'
,
'tbom'
=>
'Bom'
,
'szsc'
=>
'Sc'
,
'supply'
=>
'Supply'
),
//内部调用免验证秘钥
'SUPER_AUTH_KEY'
=>
'fh6y5t4rr351d2c3bryi'
,
// 极验releaseinquiry
'GEE_ID'
=>
'afac726bf717235a47424e3f6059f524'
,
'GEE_KEY'
=>
'52d86db9a61ae00a3e1d68fee908a248'
,
//是否显示自营搜索数据
'ZIYING_BUTTON'
=>
1
,
//爬虫token验证时间
'SEARCH_TOKEN_EXPIRE_TIME'
=>
30
,
//搜索词过滤2个英文特殊词
'BRAND_SEARCH_WORD'
=>
'FH,BL,TE,FM,CJ,ST,SK,ST,ON,TM,TP,TI,MD,EG,HF,DY,MK,M2,M4,M7,M1,A7,F7'
,
// 首页自营模块获取限时限量商品
),
'HOME_SELF_ACTIVITY_GOODS'
=>
'http://cube.liexin.net/WebApi/HDLimitGoodsID?Token='
,
//首页内容缓存
'HOME_TEMPLATE_REDIS'
=>
'home_template_datas'
,
'H5_HOME_TEMPLATE_REDIS'
=>
'h5_home_template_datas'
,
'API_TOKEN'
=>
'zbPx8gDXDfIh3ZoJcO4EH'
,
// api接口token
'API_TOKEN'
=>
'zbPx8gDXDfIh3ZoJcO4EH'
,
// api接口token
);
);
\ No newline at end of file
Application/Common/Conf/config_db.php
View file @
e7e9f01f
...
@@ -36,41 +36,6 @@ return array(
...
@@ -36,41 +36,6 @@ return array(
),
),
),
),
/*撮合数据库*/
"MATCHES_DB_CONFIG"
=>
array
(
'db_type'
=>
'mysql'
,
'db_user'
=>
'matches'
,
'db_pwd'
=>
'matches#zsyM'
,
'db_host'
=>
'db1.ichunt.com'
,
'db_port'
=>
'3306'
,
'db_name'
=>
'matches'
,
'db_prefix'
=>
'lie_'
,
'db_charset'
=>
'utf8'
,
),
//数据中心mysql 后面记得要拼接数据库名称
'SUPPLIER_CENTER_MYSQL'
=>
'mysql://root:HuntxB9#zsyM@192.168.2.232:3306/'
,
//Mongo
'DB_MONGO'
=>
array
(
'db_type'
=>
'mongo'
,
'db_user'
=>
'ichunt'
,
'db_pwd'
=>
'huntmon6699'
,
'db_host'
=>
'192.168.1.237'
,
'db_port'
=>
'27017'
,
'db_name'
=>
'logs'
,
'db_charset'
=>
'utf8'
,
),
'SUPPLIER_CENTER_DB_CONFIG'
=>
array
(
/* 数据库配置 */
'db_type'
=>
'mongo'
,
// 数据库类型
'db_host'
=>
'192.168.1.237'
,
// 服务器地址
'db_name'
=>
'ichunt'
,
// 数据库名
'db_user'
=>
'ichunt'
,
// 用户名
'db_pwd'
=>
'huntmon6699'
,
// 密码
'db_port'
=>
'27017'
,
// 端口
'db_prefix'
=>
''
,
// 数据库表前缀
),
//REDIS
//REDIS
'REDIS_HOST'
=>
'192.168.1.235,192.168.1.237'
,
'REDIS_HOST'
=>
'192.168.1.235,192.168.1.237'
,
'REDIS_PORT'
=>
6379
,
'REDIS_PORT'
=>
6379
,
...
@@ -84,23 +49,5 @@ return array(
...
@@ -84,23 +49,5 @@ return array(
'FS_REDIS_HOST'
=>
'192.168.1.235,192.168.1.237'
,
'FS_REDIS_HOST'
=>
'192.168.1.235,192.168.1.237'
,
'FS_REDIS_PORT'
=>
6379
,
'FS_REDIS_PORT'
=>
6379
,
'FS_REDIS_PASSWORD'
=>
'icDb29mLy2s'
,
'FS_REDIS_PASSWORD'
=>
'icDb29mLy2s'
,
//spu与sku的数据库连接
'SPU_SKU_MYSQL'
=>
'mysql://spu:spu@192.168.1.234:3306/'
,
//rabbitmq链接信息
'RABBITMQ_FLAG'
=>
true
,
//为true时打开记录信息
'RABBITMQ_CONFIG'
=>
array
(
"host"
=>
"192.168.2.232"
,
"port"
=>
"5672"
,
"user_name"
=>
"guest"
,
"password"
=>
"guest"
,
),
//神策
'RABBITMQ_SENSOR_CONFIG'
=>
array
(
"host"
=>
"192.168.2.232"
,
"port"
=>
"5672"
,
"user_name"
=>
"guest"
,
"password"
=>
"guest"
,
'vhost'
=>
'/'
),
);
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment