Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
龚小红
oto
Commits
9eff87a9
Commit
9eff87a9
authored
Dec 27, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复验证码类型错误问题
parent
efbbec9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
BaseUtils.java
src/test/java/com/kjj/utils/BaseUtils.java
+3
-3
No files found.
src/test/java/com/kjj/utils/BaseUtils.java
View file @
9eff87a9
...
@@ -251,7 +251,7 @@ public class BaseUtils {
...
@@ -251,7 +251,7 @@ public class BaseUtils {
params
.
clear
();
params
.
clear
();
params
.
put
(
"phone"
,
"15136361308"
);
params
.
put
(
"phone"
,
"15136361308"
);
Response
autoTestRes
=
network
.
getResponse
(
params
,
BasicConfig
.
CORP_getCaptchaForAutoTest
);
Response
autoTestRes
=
network
.
getResponse
(
params
,
BasicConfig
.
CORP_getCaptchaForAutoTest
);
long
captcha
=
autoTestRes
.
jsonPath
().
getLo
ng
(
"data"
);
String
captcha
=
autoTestRes
.
jsonPath
().
getStri
ng
(
"data"
);
System
.
out
.
println
(
captcha
);
System
.
out
.
println
(
captcha
);
//登录接口
//登录接口
...
@@ -300,7 +300,7 @@ public class BaseUtils {
...
@@ -300,7 +300,7 @@ public class BaseUtils {
params
.
clear
();
params
.
clear
();
params
.
put
(
"phone"
,
"15136361307"
);
params
.
put
(
"phone"
,
"15136361307"
);
Response
autoTestRes
=
network
.
getResponse
(
params
,
BasicConfig
.
CORP_getCaptchaForAutoTest
);
Response
autoTestRes
=
network
.
getResponse
(
params
,
BasicConfig
.
CORP_getCaptchaForAutoTest
);
long
captcha
=
autoTestRes
.
jsonPath
().
getLo
ng
(
"data"
);
String
captcha
=
autoTestRes
.
jsonPath
().
getStri
ng
(
"data"
);
System
.
out
.
println
(
captcha
);
System
.
out
.
println
(
captcha
);
//登录接口
//登录接口
...
@@ -350,7 +350,7 @@ public class BaseUtils {
...
@@ -350,7 +350,7 @@ public class BaseUtils {
params
.
clear
();
params
.
clear
();
params
.
put
(
"phone"
,
"15136361306"
);
params
.
put
(
"phone"
,
"15136361306"
);
Response
autoTestRes
=
network
.
getResponse
(
params
,
BasicConfig
.
CORP_getCaptchaForAutoTest
);
Response
autoTestRes
=
network
.
getResponse
(
params
,
BasicConfig
.
CORP_getCaptchaForAutoTest
);
long
captcha
=
autoTestRes
.
jsonPath
().
getLo
ng
(
"data"
);
String
captcha
=
autoTestRes
.
jsonPath
().
getStri
ng
(
"data"
);
System
.
out
.
println
(
captcha
);
System
.
out
.
println
(
captcha
);
//登录接口
//登录接口
...
...
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