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
77f5f9c0
Commit
77f5f9c0
authored
Apr 17, 2018
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改push参数
parent
7eb2ba68
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
pushloanprogress.sh
qa_shell_script/script_by_Contorller/pushloanprogress.sh
+1
-1
xhed_spider.sh
qa_shell_script/script_by_Contorller/xhed_spider.sh
+19
-0
No files found.
qa_shell_script/script_by_Contorller/pushloanprogress.sh
View file @
77f5f9c0
...
@@ -56,7 +56,7 @@ function pushloanprogress(){
...
@@ -56,7 +56,7 @@ function pushloanprogress(){
else
else
echo
"loan_id=
$loan_id
"
echo
"loan_id=
$loan_id
"
echo
"progress=
$progress_id
"
echo
"progress=
$progress_id
"
curl
-d
"loan
i
d=
${
loan_id
}
&progress=
${
progress_id
}
&applyNo=
${
applyno
}
"
"http://
${
cash_domain
}
/test/loanMq/one"
curl
-d
"loan
I
d=
${
loan_id
}
&progress=
${
progress_id
}
&applyNo=
${
applyno
}
"
"http://
${
cash_domain
}
/test/loanMq/one"
echo
"推送成功
$date
"
echo
"推送成功
$date
"
fi
fi
...
...
qa_shell_script/script_by_Contorller/xhed_spider.sh
View file @
77f5f9c0
#!/bin/bash
ip
=
$1
phone_no
=
$2
HOSTNAME
=
'$ip'
PORT
=
'$4'
USERNAME
=
'qa'
PASSWORD
=
'qatest'
date
=
"
`
date
+%Y%m%d%H%M%S
`
"
date_now
=
`
date
+
"%Y-%m-%d %T"
`
mysql
=
"-h
${
HOSTNAME
}
-P
${
PORT
}
-u
${
USERNAME
}
-p
${
PASSWORD
}
"
uid
=
"SELECT uuid,id from xyqb_user.user where phone_no=
${
phone_no
}
"
spider
=
"INSERT INTO spider_center.user_auth_info (auth_type, last_auth_time, auth_account_name, user_id, auth_status) VALUES(14,
${
date
}
,
${
phone_no
}
,
${
uid
}
, 1),(7,
${
date_now
}
,
${
phone_no
}
,
${
uid
}
, 1),(0,
${
date_now
}
,
${
phone_no
}
,
${
uid
}
, 1);"
address
=
"INSERT INTO xyqb_user.address (user_id, province_code, province, city_code, city, district_code, district, address, created_at, updated_at) VALUES("
+userid+
", 450000, '广西壮族自治区', 450500, '北海市', 450503, '银海区', '海淀区中关村102号', '"
+date+
"', '"
+date+
"');"
contact
=
"INSERT INTO xyqb_user.contact (user_id, name, phone_no, relation, created_at, updated_at)VALUES("
+userid+
", '张三', '138888888899', 3, '"
+date+
"', '"
+date+
"'),( "
+userid+
", '李四', '13888888888', 3, '"
+date+
"', '"
+date+
"');"
print:
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