Commit 3855dae7 authored by 智勇's avatar 智勇

up

parent eea1587d
...@@ -129,7 +129,6 @@ elif [[ $database_name = 'merchant' ]]; then ...@@ -129,7 +129,6 @@ elif [[ $database_name = 'merchant' ]]; then
elif [[ $database_name = 'xyqb_btzt' ]]; then elif [[ $database_name = 'xyqb_btzt' ]]; then
# 白条直投 # 白条直投
sys_table_list='zt_channel zt_fund zt_fund_channel zt_fund_credit zt_fund_term' sys_table_list='zt_channel zt_fund zt_fund_channel zt_fund_credit zt_fund_term'
source_db_host='192.168.4.39'
port='9002' port='9002'
elif [[ $database_name = 'user_credit' ]]; then elif [[ $database_name = 'user_credit' ]]; then
# user_credit # user_credit
...@@ -141,25 +140,29 @@ elif [[ $database_name = 'display' ]]; then ...@@ -141,25 +140,29 @@ elif [[ $database_name = 'display' ]]; then
source_db_host='192.168.3.19' source_db_host='192.168.3.19'
port='3307' port='3307'
elif [[ $database_name = 'clotho' ]]; then elif [[ $database_name = 'clotho' ]]; then
# display
sys_table_list='' sys_table_list=''
source_db_host='192.168.3.19' source_db_host='192.168.3.19'
port='3308' port='3308'
elif [[ $database_name = 'traffic_distribution' ]]; then elif [[ $database_name = 'traffic_distribution' ]]; then
# traffic_distribution
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 elif [[ $database_name = 'mall_settlement' ]]; then
# 通知
sys_table_list='role role_user user' sys_table_list='role role_user user'
source_db_host='192.168.4.253' source_db_host='192.168.4.253'
port='3315' port='3315'
elif [[ $database_name = 'score' ]]; then
sys_table_list=''
source_db_host='192.168.4.249'
port='3322'
# elif [[ $database_name = 'silk_road' ]]; then
# sys_table_list='task'
# source_db_host='192.168.4.249'
# port='3322'
fi fi
echo "port is $port" echo "port is $port"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment