Commit 128ec098 authored by qa_quantgroup's avatar qa_quantgroup

a

parent 479e6150
...@@ -221,7 +221,7 @@ new pClass().init(1,true, "ui", "7020", "spider-center-ui", "QG", null, "src/app ...@@ -221,7 +221,7 @@ new pClass().init(1,true, "ui", "7020", "spider-center-ui", "QG", null, "src/app
new pClass().init(1,true, "ui", "7050", "bt-ui", "QG", null, "src/app/config/env.config.js", "npm --registry http://172.16.3.15:4873 run qa", "node7", "新版白条-ui", "", "", ""); new pClass().init(1,true, "ui", "7050", "bt-ui", "QG", null, "src/app/config/env.config.js", "npm --registry http://172.16.3.15:4873 run qa", "node7", "新版白条-ui", "", "", "");
new pClass().init(1,true, "ui", "7058", "mall-ui", "ui", null, "src/app/config/env.config.js", "npm run build", "node7", "商城-ui", "", "", ""); new pClass().init(1,true, "ui", "7058", "mall-ui", "ui", null, "src/app/config/env.config.js", "npm run build", "node7", "商城-ui", "", "", "");
new pClass().init(1,true, "ui", "7001", "xyqb-ui", "QG", null, "client/app/config.js", "grunt build", "node7", "现金贷和白条-现金贷-ui", "", "", ""); new pClass().init(1,true, "ui", "7001", "xyqb-ui", "QG", null, "client/app/config.js", "grunt build", "node7", "现金贷和白条-现金贷-ui", "", "", "");
new pClass().init(1,true, "ui", "7046", "activity-op-ui", "QG", null, "src/config/env.config.js", "npm run build", "node7", "优惠券管理后台-ui", "", "", ""); new pClass().init(1,true, "ui", "7046", "activity-op-ui", "QG", null, "src/config/env.config.js", "npm run qa", "node7", "优惠券管理后台-ui", "", "", "");
new pClass().init(1,true, "ui", "7048", "order-op-ui", "OP", null, "src/js/env.config.js", "gulp build", "node7", "订单系统-ui", "", "", ""); new pClass().init(1,true, "ui", "7048", "order-op-ui", "OP", null, "src/js/env.config.js", "gulp build", "node7", "订单系统-ui", "", "", "");
// new pClass().init(false, "ui", "7002", "", "qgbc-ui", false, "QG", null, "src/app/config/env.config.js", "npm run build_production", "node7", "白条-ui", "", "", ""); // new pClass().init(false, "ui", "7002", "", "qgbc-ui", false, "QG", null, "src/app/config/env.config.js", "npm run build_production", "node7", "白条-ui", "", "", "");
new pClass().init(1,true, "ui", "7057", "xjd-ui", "QG", null, "src/app/config/env.config.js", "npm run qa", "node7", "新版现金贷-ui", "", "", ""); new pClass().init(1,true, "ui", "7057", "xjd-ui", "QG", null, "src/app/config/env.config.js", "npm run qa", "node7", "新版现金贷-ui", "", "", "");
...@@ -258,6 +258,7 @@ new pClass().init(1,true, "node", "7055", "statistics", "OP", null, "src/config. ...@@ -258,6 +258,7 @@ new pClass().init(1,true, "node", "7055", "statistics", "OP", null, "src/config.
new pClass().init(1,true, "node", "7086", "message-center-op", "ui", null, "config/env/test.js", "sh start.sh", null, "处理营销时消息处理与发送", "", "sh stop.sh", ""); new pClass().init(1,true, "node", "7086", "message-center-op", "ui", null, "config/env/test.js", "sh start.sh", null, "处理营销时消息处理与发送", "", "sh stop.sh", "");
new pClass().init(1,true, "node", "7073", "statistics-api", "ui", null, "src/dev.config.js", "sh start.sh", null, "数据可视化-server", "","sh stop.sh",""); new pClass().init(1,true, "node", "7073", "statistics-api", "ui", null, "src/dev.config.js", "sh start.sh", null, "数据可视化-server", "","sh stop.sh","");
new pClass().init(1,true, "node", "8073", "translate", "ui", null, "src/config/develop.config.js", "node app.js", null, "", "","",""); new pClass().init(1,true, "node", "8073", "translate", "ui", null, "src/config/develop.config.js", "node app.js", null, "", "","","");
new pClass().init(1,true, "node", "7099", "qg-web", "ui", null, "src/app/config/index.js", "sh start.sh", null, "网站后台", "", "sh stop.sh", "");
//python //python
......
dongmeifeng|192.168.4.78|32093|32093 tower|192.168.4.78|30886|30084 zhanghong|192.168.4.77|31826|32324 wangzhen|192.168.4.77|31809|30100 zhangbo|192.168.4.77|31091|32056 wangfei|192.168.4.18|32589|32182 renmingxing|192.168.4.78|30169|32509 tianyawei|192.168.4.77|32718|32701 hemengying|192.168.4.32|30067|30660 songruili|192.168.4.18|32355|30265 yiwei|192.168.4.77|30352|30286 lishuang|192.168.4.77|30011|31185 dongmeifeng|192.168.4.78|32093|32093 tower|192.168.4.78|30886|30084 zhanghong|192.168.4.77|31826|32324 wangzhen|192.168.4.77|31809|30100 zhangbo|192.168.4.77|31091|32056 wangfei|192.168.4.77|32389|31374 renmingxing|192.168.4.78|30169|32509 tianyawei|192.168.4.77|32718|32701 hemengying|192.168.4.32|30067|30660 songruili|192.168.4.18|32355|30265 yiwei|192.168.4.77|30352|30286 lishuang|192.168.4.77|30011|31185 chenyadong|192.168.4.77|30384|32523 chenxingchun|192.168.4.33|30445|30583
...@@ -66,7 +66,7 @@ createNginxHttpAndSSLConf h5sp h5sp-25 192.168.4.25 7057 7057 $nginxname/base.co ...@@ -66,7 +66,7 @@ createNginxHttpAndSSLConf h5sp h5sp-25 192.168.4.25 7057 7057 $nginxname/base.co
# 业务要求 # 业务要求
createNginxHttpAndSSLConf h5 h5 192.168.4.26 7051 7051 $nginxname/base.conf createNginxHttpAndSSLConf h5 h5 192.168.4.13 7051 7051 $nginxname/base.conf
createNginxHttpAndSSLConf qg1 qg1-21 192.168.4.21 9019 9019 $nginxname/base.conf createNginxHttpAndSSLConf qg1 qg1-21 192.168.4.21 9019 9019 $nginxname/base.conf
createNginxHttpAndSSLConf uanguang uanguang 192.168.4.124 80 80 $nginxname/base.conf createNginxHttpAndSSLConf uanguang uanguang 192.168.4.124 80 80 $nginxname/base.conf
createNginxHttpAndSSLConf gongyucheng gongyucheng 192.168.4.254 80 80 $nginxname/base.conf createNginxHttpAndSSLConf gongyucheng gongyucheng 192.168.4.254 80 80 $nginxname/base.conf
......
...@@ -3,7 +3,7 @@ ip=$1 ...@@ -3,7 +3,7 @@ ip=$1
phone_no=$2 phone_no=$2
port=$3 port=$3
date=`date "+%Y-%m-%d %H:%M:%S"` date=`date "+%Y-%m-%d %H:%M:%S"`
mysqld="-h$ip -p$port -uqa -pqatest" mysqld="-h$ip -P$port -uqa -pqatest"
len=`echo $phone_no|awk '{print length($0)}'` len=`echo $phone_no|awk '{print length($0)}'`
if [ $len -ne 11 ];then if [ $len -ne 11 ];then
echo "请输入11位手机号!" echo "请输入11位手机号!"
......
...@@ -7,7 +7,7 @@ DBNAME1="payment_center" ...@@ -7,7 +7,7 @@ DBNAME1="payment_center"
DBNAME2="xyqb" DBNAME2="xyqb"
DBNAME3="spider_center" DBNAME3="spider_center"
TABLENAME="user" TABLENAME="user"
mysqld="-h$ip -p$port -uqa -pqatest" mysqld="-h$ip -P$port -uqa -pqatest"
date=`date "+%Y-%m-%d %H:%M:%S"` date=`date "+%Y-%m-%d %H:%M:%S"`
len=`echo $phone_no|awk '{print length($0)}'` len=`echo $phone_no|awk '{print length($0)}'`
......
#!/bin/bash
ip=$1
phone_no=$2
PORT=$3
USERNAME="qa"
PASSWORD="qatest"
DBNAME="xyqb"
TABLENAME="loan_application_history"
DBNAME1="xyqb_user"
TABLENAME1="user"
mysqld="-h${ip} -P${PORT} -u${USERNAME} -p${PASSWORD}"
date=`date "+%Y-%m-%d %H:%M:%S"`
function pushloanprogress(){
len=`echo $phone_no|awk '{print length($0)}'`
if [ $len -ne 11 ]
then
echo "请输入11位手机号!"
else
#echo "开始修改"
#查询userID
select_sql="select id from ${TABLENAME1} where phone_no=${phone_no}"
user_id=`mysql -N $mysqld ${DBNAME1} -e "${select_sql}"`
#cho "user_id=$user_id"
#查找loanid
loanid="select id from ${TABLENAME} where user_id=${user_id} and is_active = 1"
loan_id=`mysql -N $mysqld ${DBNAME} -e "${loanid}"`
#cho "loan_id=$loan_id"
#查询订单状态
progressid="select progress from ${TABLENAME} where user_id=${user_id} and is_active = 1"
progress_id=`mysql -N $mysqld ${DBNAME} -e "${progressid}"`
echo "progress=$progress_id"
#push订单状态
#终审中
if [ $progress_id -eq 7 ]; then
curl -d "loanId=${loan_id}&loanProgress=FINAL_SCREENING" "http://qapi-zhangbo.q-gp.com/test/loanMq/one"
echo "推送成功 $date"
#终审拒绝
elif [ $progress_id -eq 8 ]; then
curl -d "loanId=${loan_id}&loanProgress=FINAL_SCREENING_REJECT" "http://qapi-zhangbo.q-gp.com/test/loanMq/one"
echo "推送成功 $date"
#未通过初筛
elif [ $progress_id -eq 19 ]; then
curl -d "loanId=${loan_id}&loanProgress=FILTERING_DECLINED" "http://qapi-zhangbo.q-gp.com/test/loanMq/one"
echo "推送成功 $date"
#借款清单生成完成
elif [ $progress_id -eq 9 ]; then
curl -d "loanId=${loan_id}&loanProgress=LOAN_APPLICATION_MANIFEST_COMPLETE" "http://qapi-zhangbo.q-gp.com/test/loanMq/one"
echo "推送成功 $date"
#等待资金方放款
elif [ $progress_id -eq 20 ]; then
curl -d "loanId=${loan_id}&loanProgress=WAITING_FUND" "http://qapi-zhangbo.q-gp.com/test/loanMq/one"
echo "推送成功 $date"
#查看还款计划
elif [ $progress_id -eq 15 ]; then
curl -d "loanId=${loan_id}&loanProgress=CHECK_REPAYMENT_PLAN" "http://qapi-zhangbo.q-gp.com/test/loanMq/one"
echo "推送成功 $date"
#马上金融放款失败
elif [ $progress_id -eq 23 ]; then
curl -d "loanId=${loan_id}&loanProgress=FINAL_FUNDED_APPROVAL_FAIL" "http://qapi-zhangbo.q-gp.com/test/loanMq/one"
echo "推送成功 $date"
#借款完成
elif [ $progress_id -eq 16 ]; then
curl -d "loanId=${loan_id}&loanProgress=LOAN_COMPLETE" "http://qapi-zhangbo.q-gp.com/test/loanMq/one"
else
echo "progress=$progress_id,订单状态不对"
fi
break
fi
}
pushloanprogress $ip $phone_no
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