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
6a8aaed4
Commit
6a8aaed4
authored
Jul 21, 2021
by
张艳玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新客户详情
parent
b95017ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
LiveLater.java
src/test/java/com/kjj/cases/live/agent/LiveLater.java
+0
-13
No files found.
src/test/java/com/kjj/cases/live/agent/LiveLater.java
View file @
6a8aaed4
...
...
@@ -30,7 +30,6 @@ public class LiveLater implements Authorization {
ThreadSleepUtils
.
sleep
(
100000
);
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_recycleSuccessCase
);
System
.
out
.
println
(
response
.
body
().
asString
());
Object
data
=
response
.
jsonPath
().
getJsonObject
(
"data"
);
...
...
@@ -41,7 +40,6 @@ public class LiveLater implements Authorization {
public
void
获取直播案例
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_successCase
);
boolean
success
=
response
.
jsonPath
().
getBoolean
(
"success"
);
System
.
out
.
println
(
success
);
...
...
@@ -56,7 +54,6 @@ public class LiveLater implements Authorization {
public
void
获取代理人各线索等级的线索数
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_ClueNum
);
boolean
success
=
response
.
jsonPath
().
getBoolean
(
"success"
);
System
.
out
.
println
(
success
);
...
...
@@ -84,7 +81,6 @@ public class LiveLater implements Authorization {
public
void
获取发奖人信息
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_providerInfo
);
Object
data
=
response
.
jsonPath
().
getJsonObject
(
"data"
);
System
.
out
.
println
(
data
);
...
...
@@ -99,7 +95,6 @@ public class LiveLater implements Authorization {
public
void
直播结束线索列表页
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
params
.
put
(
"pageIndex"
,
1
);
params
.
put
(
"pageSize"
,
30
);
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_ClueList
);
...
...
@@ -119,7 +114,6 @@ public class LiveLater implements Authorization {
public
void
直接邀请
tab
数据
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
params
.
put
(
"pageIndex"
,
1
);
params
.
put
(
"pageSize"
,
30
);
params
.
put
(
"actionTypeList"
,
26
);
...
...
@@ -136,7 +130,6 @@ public class LiveLater implements Authorization {
public
void
转介绍
tab
数据
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
params
.
put
(
"pageIndex"
,
1
);
params
.
put
(
"pageSize"
,
30
);
params
.
put
(
"actionTypeList"
,
22
);
...
...
@@ -153,7 +146,6 @@ public class LiveLater implements Authorization {
public
void
中奖
tab
数据
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
params
.
put
(
"pageIndex"
,
1
);
params
.
put
(
"pageSize"
,
30
);
params
.
put
(
"actionTypeList"
,
17
);
...
...
@@ -172,7 +164,6 @@ public class LiveLater implements Authorization {
public
void
报名
tab
数据
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
params
.
put
(
"pageIndex"
,
1
);
params
.
put
(
"pageSize"
,
30
);
params
.
put
(
"actionTypeList"
,
20
);
...
...
@@ -190,7 +181,6 @@ public class LiveLater implements Authorization {
public
void
观看
20
分钟以上
tab
数据
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
params
.
put
(
"pageIndex"
,
1
);
params
.
put
(
"pageSize"
,
30
);
params
.
put
(
"actionTypeList"
,
4
);
...
...
@@ -208,7 +198,6 @@ public class LiveLater implements Authorization {
public
void
客户
A
线索已读
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
params
.
put
(
"liveUserId"
,
this
.
liveUserId
.
get
(
0
).
getLiveUserId
());
Response
response
=
network
.
postResponse
(
params
,
BasicConfig
.
MOBILE_readClue
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
...
...
@@ -222,7 +211,6 @@ public class LiveLater implements Authorization {
public
void
查看客户
A
线索详情
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
params
.
put
(
"liveUserId"
,
this
.
liveUserId
.
get
(
0
).
getLiveUserId
());
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_getClueDetail
);
System
.
out
.
println
(
response
.
body
().
asString
());
...
...
@@ -251,7 +239,6 @@ public class LiveLater implements Authorization {
public
void
查看客户
B
答题线索详情
()
{
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
// params.put("liveId","Kj21MzYyNjM");
params
.
put
(
"liveUserId"
,
this
.
liveUserId
.
get
(
1
).
getLiveUserId
());
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_getClueDetail
);
System
.
out
.
println
(
response
.
body
().
asString
());
...
...
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