Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
b161d92a
Commit
b161d92a
authored
Jan 10, 2018
by
tywldx
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.quantgroup.cn/QA/qa-deploy-utils
parents
3de4e95d
0b9f057e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
db_config
db-utils/config/db_config
+1
-1
db_gen_config.sh
db-utils/db_gen_config.sh
+7
-2
No files found.
db-utils/config/db_config
View file @
b161d92a
database_list=mall xyqb cash_loan_flow clotho contract display dujiangyan financial_system financial_system_api fund_manage gyxd merchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center traffic_distribution user_credit xyqb_app xyqb_btzt xyqb_user
database_list=mall xyqb cash_loan_flow clotho contract display dujiangyan financial_system financial_system_api fund_manage gyxd m
all_settlement m
erchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center traffic_distribution user_credit xyqb_app xyqb_btzt xyqb_user
source_db_pwd=Uiwb@o^fR&nHOa5t
source_db_pwd=Uiwb@o^fR&nHOa5t
\ No newline at end of file
db-utils/db_gen_config.sh
View file @
b161d92a
...
@@ -124,7 +124,7 @@ elif [[ $database_name = 'xyqb_user' ]]; then
...
@@ -124,7 +124,7 @@ elif [[ $database_name = 'xyqb_user' ]]; then
port
=
'3313'
port
=
'3313'
elif
[[
$database_name
=
'merchant'
]]
;
then
elif
[[
$database_name
=
'merchant'
]]
;
then
# 商户
# 商户
sys_table_list
=
'authority product_nature role role_authority role_supplier user'
sys_table_list
=
'authority product_nature role role_authority role_supplier
role_user
user'
port
=
'3314'
port
=
'3314'
elif
[[
$database_name
=
'xyqb_btzt'
]]
;
then
elif
[[
$database_name
=
'xyqb_btzt'
]]
;
then
# 白条直投
# 白条直投
...
@@ -150,11 +150,16 @@ elif [[ $database_name = 'traffic_distribution' ]]; then
...
@@ -150,11 +150,16 @@ elif [[ $database_name = 'traffic_distribution' ]]; then
sys_table_list
=
'merchant merchant_carousel merchant_credit merchant_detail merchant_section merchant_sort ppdai_exclude_channel t_module t_module_role t_role t_user t_user_role traffic_channel_banner_ids traffic_channel_ids traffic_channel_sort traffic_infos'
sys_table_list
=
'merchant merchant_carousel merchant_credit merchant_detail merchant_section merchant_sort ppdai_exclude_channel t_module t_module_role t_role t_user t_user_role traffic_channel_banner_ids traffic_channel_ids traffic_channel_sort traffic_infos'
source_db_host
=
'192.168.3.36'
source_db_host
=
'192.168.3.36'
port
=
'3313'
port
=
'3313'
elif
[[
$database_name
=
'notify'
]]
;
then
elif
[[
$database_name
=
'notify'
]]
;
then
# 通知
# 通知
sys_table_list
=
'merchant merchant_config'
sys_table_list
=
'merchant merchant_config'
source_db_host
=
'192.168.4.6'
source_db_host
=
'192.168.4.6'
port
=
'7306'
port
=
'7306'
elif
[[
$database_name
=
'mall_settlement'
]]
;
then
# 通知
sys_table_list
=
'role role_user user'
source_db_host
=
'192.168.4.253'
port
=
'3315'
fi
fi
echo
"port is
$port
"
echo
"port is
$port
"
...
...
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