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
9097524d
Commit
9097524d
authored
Jan 10, 2018
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
0b9f057e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
14 deletions
+10
-14
restartJava.sh
qa_shell_script/base_script/restartJava.sh
+3
-7
get_project_config.js
qa_shell_script/config_server/get_project_config.js
+4
-4
exception_sub_shell.sh
qa_shell_script/exception_sub_shell.sh
+0
-1
docker_env_name.sh
qa_shell_script/ngrok/docker_env_name.sh
+1
-1
baitiao_activiate.sh
qa_shell_script/script_by_Contorller/baitiao_activiate.sh
+2
-1
No files found.
qa_shell_script/base_script/restartJava.sh
View file @
9097524d
...
@@ -64,7 +64,7 @@ function ack()
...
@@ -64,7 +64,7 @@ function ack()
}
}
max_wait_log_generate_time
=
10
max_wait_log_generate_time
=
10
max_wait_ack_time
=
5
00
max_wait_ack_time
=
7
00
ack_phrase
=
"JVM
\
running
\
for"
ack_phrase
=
"JVM
\
running
\
for"
project
=
$1
project
=
$1
desc
=
`
node
$config_server
/get_project_config.js
-name
$project
-attr
desc
`
desc
=
`
node
$config_server
/get_project_config.js
-name
$project
-attr
desc
`
...
@@ -116,13 +116,9 @@ echo "日志名称:$log_name"
...
@@ -116,13 +116,9 @@ echo "日志名称:$log_name"
#fi
#fi
if
[[
$check_ack
==
"1"
]]
;
then
if
[[
$check_ack
==
"1"
]]
;
then
ack
"
$ack_phrase
"
$project_path
/logs/
$log_name
${
max_wait_log_generate_time
}
700
echo
"skip ack log"
if
[
$?
-ne
0
]
then
echo
"Fail to start"
exit
-1
fi
else
else
echo
"ack "
$ack_phrase
"
$project_path
/logs/
$log_name
${
max_wait_log_generate_time
}
${
max_wait_ack_time
}
"
ack
"
$ack_phrase
"
$project_path
/logs/
$log_name
${
max_wait_log_generate_time
}
${
max_wait_ack_time
}
ack
"
$ack_phrase
"
$project_path
/logs/
$log_name
${
max_wait_log_generate_time
}
${
max_wait_ack_time
}
if
[
$?
-ne
0
]
if
[
$?
-ne
0
]
then
then
...
...
qa_shell_script/config_server/get_project_config.js
View file @
9097524d
...
@@ -140,8 +140,8 @@ pClass.prototype = {
...
@@ -140,8 +140,8 @@ pClass.prototype = {
// --java
// --java
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7042
"
,
"
xyqb-user2
"
,
"
head_group
"
,
"
xyqb_user.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
-Dtest=true
"
,
"
用户注册登录-V2-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7042
"
,
"
xyqb-user2
"
,
"
head_group
"
,
"
xyqb_user.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
-Dtest=true
"
,
"
用户注册登录-V2-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7003
"
,
"
xyqb
"
,
"
QG
"
,
"
xyqb.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
-Denv=dev -Didc=empty
"
,
"
现金贷-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7003
"
,
"
xyqb
"
,
"
QG
"
,
"
xyqb.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
-Denv=dev -Didc=empty
"
,
"
现金贷-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7025
"
,
"
baitiao
"
,
"
baitiao
"
,
"
baitiao.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
-
agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
"
,
"
白条-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
"
baitiao-api/target
"
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7025
"
,
"
baitiao
"
,
"
baitiao
"
,
"
baitiao.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
-
Denv=dev -Dtech.localhost= -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
"
,
"
白条-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
"
baitiao-api/target
"
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7019
"
,
"
xyqb-mall
"
,
"
QG
"
,
"
mall.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
商城后台-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7019
"
,
"
xyqb-mall
"
,
"
QG
"
,
"
mall.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
"
,
"
商城后台-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7010
"
,
"
xyqb-offline
"
,
"
QG
"
,
"
xyqb_offline.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
线下业务-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7010
"
,
"
xyqb-offline
"
,
"
QG
"
,
"
xyqb_offline.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
线下业务-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
2
,
false
,
"
java
"
,
"
7005
"
,
"
di-ting
"
,
"
QG
"
,
"
di_ting.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
风控审计-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
2
,
false
,
"
java
"
,
"
7005
"
,
"
di-ting
"
,
"
QG
"
,
"
di_ting.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
风控审计-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7013
"
,
"
han-gu-guan
"
,
"
QG
"
,
"
han-gu-guan.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
用户注册登录-V1-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7013
"
,
"
han-gu-guan
"
,
"
QG
"
,
"
han-gu-guan.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
用户注册登录-V1-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
...
@@ -165,12 +165,12 @@ new pClass().init(1,false, "java", "7053", "xyqb-btzt-internal", "qg-op-backend"
...
@@ -165,12 +165,12 @@ new pClass().init(1,false, "java", "7053", "xyqb-btzt-internal", "qg-op-backend"
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7060
"
,
"
baitiao-op-backend
"
,
"
baitiao
"
,
"
baitiao-op-backend.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
运营系统服务
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
"
xyqb-backend/target
"
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7060
"
,
"
baitiao-op-backend
"
,
"
baitiao
"
,
"
baitiao-op-backend.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
运营系统服务
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
"
xyqb-backend/target
"
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7062
"
,
"
xyqb-user2-query
"
,
"
head_group
"
,
"
xyqb_user_query.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts -Dtest=true
"
,
"
"
,
"
用户系统查询服务
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7062
"
,
"
xyqb-user2-query
"
,
"
head_group
"
,
"
xyqb_user_query.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts -Dtest=true
"
,
"
"
,
"
用户系统查询服务
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
2
,
false
,
"
java
"
,
"
7063
"
,
"
qg-op-backend
"
,
"
traffic.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
流量分发系统
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
2
,
false
,
"
java
"
,
"
7063
"
,
"
qg-op-backend
"
,
"
traffic.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
流量分发系统
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7017
"
,
"
silk-road-eureka
"
,
"
baitiao
"
,
"
silk-road-eureka.log
"
,
"
application.properties
"
,
"
-Denv=dev --worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
通用注册发现服务
"
,
"
魏巍
"
,
"
mvn clean package -U -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7017
"
,
"
silk-road-eureka
"
,
"
baitiao
"
,
"
silk-road-eureka.log
"
,
"
application.properties
"
,
"
-Denv=dev --worker 1 --currentWorker 1 -t -ts
"
,
"
-DLOG_HOME=/home/quant_group/logs
"
,
"
通用注册发现服务
"
,
"
魏巍
"
,
"
mvn clean package -U -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7027
"
,
"
silk-road-caller
"
,
"
baitiao
"
,
"
silk-road-caller.log
"
,
"
application.properties
"
,
"
-Denv=dev --worker 1 --currentWorker 1 -t -ts
"
,
"
-DLOG_HOME=/home/quant_group/logs
"
,
"
通用消息调用服务
"
,
"
魏巍
"
,
"
mvn clean package -U -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7027
"
,
"
silk-road-caller
"
,
"
baitiao
"
,
"
silk-road-caller.log
"
,
"
application.properties
"
,
"
-Denv=dev --worker 1 --currentWorker 1 -t -ts
"
,
"
-DLOG_HOME=/home/quant_group/logs
"
,
"
通用消息调用服务
"
,
"
魏巍
"
,
"
mvn clean package -U -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7056
"
,
"
score
"
,
"
baitiao
"
,
"
score.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
积分系统
"
,
"
刑志超
"
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7056
"
,
"
score
"
,
"
baitiao
"
,
"
score.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
积分系统
"
,
"
刑志超
"
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7065
"
,
"
silk-road-backman
"
,
"
baitiao
"
,
"
silk-road-backman.log
"
,
"
application.properties
"
,
"
-Denv=dev --worker 1 --currentWorker 1 -t -ts
"
,
"
-DLOG_HOME=/home/quant_group/logs
"
,
"
内部系统适配服务
"
,
"
魏巍
"
,
"
mvn clean package -U -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7065
"
,
"
silk-road-backman
"
,
"
baitiao
"
,
"
silk-road-backman.log
"
,
"
application.properties
"
,
"
-Denv=dev --worker 1 --currentWorker 1 -t -ts
"
,
"
-DLOG_HOME=/home/quant_group/logs
"
,
"
内部系统适配服务
"
,
"
魏巍
"
,
"
mvn clean package -U -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7066
"
,
"
silk-road
"
,
"
baitiao
"
,
"
silk-road.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
白条直投-对外系统2
"
,
"
魏巍
"
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7066
"
,
"
silk-road
"
,
"
baitiao
"
,
"
silk-road.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
白条直投-对外系统2
"
,
"
魏巍
"
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7059
"
,
"
baitiao-zhitou
"
,
"
baitiao
"
,
"
baitiao-zhitou.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
白条直投-对接资金方
"
,
"
张斌
"
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
"
./xyqb-btzt-internal/target/
"
);
new
pClass
().
init
(
1
,
true
,
"
java
"
,
"
7059
"
,
"
baitiao-zhitou
"
,
"
baitiao
"
,
"
baitiao-zhitou.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
-Denv=dev -Dtech.localhost=
"
,
"
白条直投-对接资金方
"
,
"
张斌
"
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
"
./xyqb-btzt-internal/target/
"
);
new
pClass
().
init
(
2
,
false
,
"
java
"
,
"
7068
"
,
"
customer_helpdesk
"
,
"
data-riskcontrol
"
,
"
customer_helpdesk.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
外部客服-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
2
,
false
,
"
java
"
,
"
7068
"
,
"
customer_helpdesk
"
,
"
data-riskcontrol
"
,
"
customer_helpdesk.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
外部客服-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7069
"
,
"
notify
"
,
"
fund_pay
"
,
"
notify.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
支付中心消息通知系统-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7069
"
,
"
notify
"
,
"
fund_pay
"
,
"
notify.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
支付中心消息通知系统-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7071
"
,
"
mall-settlement
"
,
"
baitiao
"
,
"
mall-settlement.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
商户结算系统
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
1
,
false
,
"
java
"
,
"
7071
"
,
"
mall-settlement
"
,
"
baitiao
"
,
"
mall-settlement.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts
"
,
"
"
,
"
商户结算系统
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
...
...
qa_shell_script/exception_sub_shell.sh
View file @
9097524d
...
@@ -115,7 +115,6 @@ tranceConfig ui "wechattest.xyqb.com" "xyqb-user2-16.q-gp.com" "192.168.4.16" "x
...
@@ -115,7 +115,6 @@ tranceConfig ui "wechattest.xyqb.com" "xyqb-user2-16.q-gp.com" "192.168.4.16" "x
tranceConfig java
"wx89894cd83d117b26"
"wxc94ca68b353e90d0"
"192.168.4.16"
"xyqb-user2.properties"
tranceConfig java
"wx89894cd83d117b26"
"wxc94ca68b353e90d0"
"192.168.4.16"
"xyqb-user2.properties"
tranceConfig java
"11fb7f6a8b8edf2776a72c2f5624229c"
"e30380e9ade07f361e51a643f94d8817"
"192.168.4.16"
"xyqb-user2.properties"
tranceConfig java
"11fb7f6a8b8edf2776a72c2f5624229c"
"e30380e9ade07f361e51a643f94d8817"
"192.168.4.16"
"xyqb-user2.properties"
tranceConfig ui
"wx89894cd83d117b26"
"wxc94ca68b353e90d0"
"192.168.4.16"
"xyqb-user-ui.js"
tranceConfig ui
"wx89894cd83d117b26"
"wxc94ca68b353e90d0"
"192.168.4.16"
"xyqb-user-ui.js"
tranceConfig java
"192.168.4.16:7043"
"xyqb-user-ui-16.q-gp.com"
"192.168.4.16"
"xyqb-user2.properties"
tranceConfig ui
"wechattest.xyqb.com"
"xyqb-user2-16.q-gp.com"
"192.168.4.16"
"new-xyqb-user-ui.js"
tranceConfig ui
"wechattest.xyqb.com"
"xyqb-user2-16.q-gp.com"
"192.168.4.16"
"new-xyqb-user-ui.js"
tranceConfig ui
"wx89894cd83d117b26"
"wxc94ca68b353e90d0"
"192.168.4.16"
"new-xyqb-user-ui.js"
tranceConfig ui
"wx89894cd83d117b26"
"wxc94ca68b353e90d0"
"192.168.4.16"
"new-xyqb-user-ui.js"
#4.17
#4.17
...
...
qa_shell_script/ngrok/docker_env_name.sh
View file @
9097524d
qa6|192.168.167.3 dongmeifeng|192.168.167.4 tower|192.168.167.5 zhiyong|192.168.167.7
yawei|192.168.167.10 tianyawei|192.168.167.10
qa6|192.168.167.3 dongmeifeng|192.168.167.4 tower|192.168.167.5 zhiyong|192.168.167.7
tianyawei|192.168.166.28
qa_shell_script/script_by_Contorller/baitiao_activiate.sh
View file @
9097524d
...
@@ -38,7 +38,8 @@ function activate()
...
@@ -38,7 +38,8 @@ function activate()
# 贷款记录表增加数据
# 贷款记录表增加数据
insert_history
=
"INSERT INTO loan_application_history ("
user_id
", "
channel_id
", "
bank_card_id
", "
is_active
", "
progress
", "
created_from
", "
business_type
", "
pay_approach
", "
baitiao_merchant_id
", "
created_at
", "
updated_at
")VALUES (
${
xyqb_user_id
}
, 222, 100, 1, 39, 222, 1, NULL,
${
merchant_id
}
, '
${
date_now
}
', '
${
date_now
}
')"
insert_history
=
"INSERT INTO loan_application_history ("
user_id
", "
channel_id
", "
bank_card_id
", "
is_active
", "
progress
", "
created_from
", "
business_type
", "
pay_approach
", "
baitiao_merchant_id
", "
created_at
", "
updated_at
")VALUES (
${
xyqb_user_id
}
, 222, 100, 1, 39, 222, 1, NULL,
${
merchant_id
}
, '
${
date_now
}
', '
${
date_now
}
')"
mysql
$mysqld
xyqb
-e
"set names utf8;
${
insert_history
}
"
mysql
$mysqld
xyqb
-e
"set names utf8;
${
insert_history
}
"
insert_bill_day
=
"INSERT INTO baitiao_bill_day ("
user_id
", "
day
", "
created_at
", "
updated_at
") VALUES (
$xyqb_user_id
, 28, '
$date_now
', '
$date_now
')"
mysql
$mysqld
xyqb
-e
"set names utf8;
${
insert_bill_day
}
"
#激活记录表增加数据
#激活记录表增加数据
insert_step_info
=
"INSERT INTO loan_step_info ("
user_id
", "
merchant_id
", "
status_code
", "
created_at
")VALUES (
${
xyqb_user_id
}
,
${
merchant_id
}
, 0, '
$date_now
'), (
${
xyqb_user_id
}
,
${
merchant_id
}
, 5, '
$date_now
')"
insert_step_info
=
"INSERT INTO loan_step_info ("
user_id
", "
merchant_id
", "
status_code
", "
created_at
")VALUES (
${
xyqb_user_id
}
,
${
merchant_id
}
, 0, '
$date_now
'), (
${
xyqb_user_id
}
,
${
merchant_id
}
, 5, '
$date_now
')"
mysql
$mysqld
xyqb
-e
"set names utf8;
${
insert_step_info
}
"
mysql
$mysqld
xyqb
-e
"set names utf8;
${
insert_step_info
}
"
...
...
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