Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-autotest-live
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-autotest-live
Commits
abd4ae5d
Commit
abd4ae5d
authored
Jun 11, 2021
by
zhangying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除登录获取验证码
parent
3c04b56f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
src/main/java/com/live/utils/CommonLogin.java
+10
-10
No files found.
src/main/java/com/live/utils/CommonLogin.java
View file @
abd4ae5d
...
@@ -159,22 +159,22 @@ public class CommonLogin {
...
@@ -159,22 +159,22 @@ public class CommonLogin {
headers
.
put
(
"p"
,
p
);
headers
.
put
(
"p"
,
p
);
// 执行获取验证码
// 执行获取验证码
headers
.
put
(
"content-type"
,
"application/json; charset=UTF-8"
);
//
headers.put("content-type", "application/json; charset=UTF-8");
url
=
host
+
"/horn/anon/horn/msgAuthCode"
;
//
url = host + "/horn/anon/horn/msgAuthCode";
logger
.
info
(
"执行获取验证码登录URL==>>"
+
url
);
//
logger.info("执行获取验证码登录URL==>>" + url);
//
String
data
=
"{\n"
+
//
String data = "{\n" +
" \"serverType\": \"BIND_PHONE\",\n"
+
//
" \"serverType\": \"BIND_PHONE\",\n" +
" \"phone\": "
+
accountNo
+
"\n"
+
//
" \"phone\": " + accountNo + "\n" +
"}"
;
//
"}";
okHttpClient
.
doPostRequest
(
url
,
data
,
headers
);
//
okHttpClient.doPostRequest(url, data, headers);
// 执行验证码登录
// 执行验证码登录
url
=
host
+
"/account/public/account/bindPhone"
;
url
=
host
+
"/account/public/account/bindPhone"
;
logger
.
info
(
"执行验证码登录URL==>>"
+
url
);
logger
.
info
(
"执行验证码登录URL==>>"
+
url
);
data
=
"{\n"
+
String
data
=
"{\n"
+
" \"authCode\": \"0000\",\n"
+
" \"authCode\": \"0000\",\n"
+
" \"phone\": "
+
accountNo
+
"\n"
+
" \"phone\": "
+
accountNo
+
"\n"
+
"}"
;
"}"
;
...
...
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