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
cc53b4de
Commit
cc53b4de
authored
Aug 04, 2021
by
xiamengchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新运营周报部分
parent
abada3c4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
185 additions
and
26 deletions
+185
-26
WeeklyList.java
src/test/java/com/kjj/bean/whoSawMe/WeeklyList.java
+23
-0
ForwardAndRead.java
...java/com/kjj/cases/assistant/whoSawMe/ForwardAndRead.java
+18
-0
WhoSawMe.java
src/test/java/com/kjj/cases/assistant/whoSawMe/WhoSawMe.java
+135
-26
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+9
-0
No files found.
src/test/java/com/kjj/bean/whoSawMe/WeeklyList.java
0 → 100644
View file @
cc53b4de
package
com
.
kjj
.
bean
.
whoSawMe
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
WeeklyList
{
private
String
yearMonth
;
private
List
<
weeklyPublication
>
weeklyPublications
;
@Data
public
static
class
weeklyPublication
{
private
String
endDate
;
private
int
freshVisitorNum
;
private
String
id
;
private
int
keyCluesNum
;
private
boolean
newWeekly
;
private
String
startDate
;
private
int
totalShareNum
;
private
int
totalVisitorNum
;
}
}
src/test/java/com/kjj/cases/assistant/whoSawMe/ForwardAndRead.java
View file @
cc53b4de
...
...
@@ -150,6 +150,24 @@ public class ForwardAndRead implements Authorization {
Assert
.
assertEquals
(
data
,
"success"
,
network
.
message
(
param
,
BasicConfig
.
SELLERCARD_SENDPUSHFORSCAN
,
"领取赠险失败"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"获取文章FAQs"
,
priority
=
9
)
public
void
获取文章
FAQs
()
throws
IOException
{
param
.
clear
();
param
.
put
(
"scid"
,
articleScId
);
param
.
put
(
"recommend"
,
1
);
param
.
put
(
"pageIndex"
,
1
);
param
.
put
(
"pageSize"
,
2
);
response
=
network
.
getResponse
(
param
,
BasicConfig
.
ARTICLE_ENHANCEDCOLUMN_GETFAQS
);
int
totalCount
=
response
.
jsonPath
().
getInt
(
"data.totalCount"
);
List
<
Object
>
lists
=
response
.
jsonPath
().
getList
(
"data.list"
);
Assert
.
assertEquals
(
totalCount
,
lists
.
size
(),
network
.
message
(
param
,
BasicConfig
.
ARTICLE_ENHANCEDCOLUMN_GETFAQS
,
"FAQ总数与FAQ列表大小不一致"
,
response
.
body
().
asString
()));
}
// @Test(description = "二度访客点击FAQ", priority = 10)
// public void 二度访客点击FAQ() throws IOException{
//
// }
// 通过素材contentId获取线索员文章scId
public
String
getContentScId
(
String
contentId
){
param
=
new
HashMap
<>();
...
...
src/test/java/com/kjj/cases/assistant/whoSawMe/WhoSawMe.java
View file @
cc53b4de
...
...
@@ -2,6 +2,7 @@ package com.kjj.cases.assistant.whoSawMe;
import
com.beust.jcommander.internal.Lists
;
import
com.kjj.bean.whoSawMe.RankingList
;
import
com.kjj.bean.whoSawMe.WeeklyList
;
import
com.kjj.cases.admin.Authorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.utils.BaseUtils
;
...
...
@@ -28,6 +29,8 @@ public class WhoSawMe implements Authorization {
private
Long
xxrUserId
;
private
Long
jjSellerId
;
private
String
tagId0
;
private
String
weeklyPublicationId
;
private
String
scid
;
// 代理人周报scid
@BeforeClass
public
void
setUp
()
throws
IOException
{
...
...
@@ -128,8 +131,8 @@ public class WhoSawMe implements Authorization {
response
=
network
.
getResponse
(
BasicConfig
.
SELLERWEEKLY
);
boolean
success
=
response
.
jsonPath
().
getBoolean
(
"success"
);
Assert
.
assertTrue
(
success
,
network
.
message
(
BasicConfig
.
SELLERWEEKLY
,
"接口请求失败"
,
response
.
body
().
asString
()));
Object
data
=
response
.
jsonPath
().
getJsonObject
(
"data
"
);
Assert
.
assertNotNull
(
data
,
network
.
message
(
BasicConfig
.
SELLERWEEKLY
,
"获取周报首页数据失败
"
,
response
.
body
().
asString
()));
weeklyPublicationId
=
response
.
jsonPath
().
getString
(
"data.weeklyPublicationId
"
);
Assert
.
assertNotNull
(
weeklyPublicationId
,
network
.
message
(
BasicConfig
.
SELLERWEEKLY
,
"代理人运营周报Id为空
"
,
response
.
body
().
asString
()));
}
// 获取首页来访统计
...
...
@@ -171,15 +174,121 @@ public class WhoSawMe implements Authorization {
}
// 进入运营周报首页
@Test
(
description
=
"进入运营周报首页"
,
priority
=
12
)
public
void
进入运营周报首页
()
throws
IOException
{
@Test
(
description
=
"运营周报_获取周报首页信息"
,
priority
=
12
)
public
void
运营周报
_
获取周报首页信息
()
throws
IOException
{
param
.
clear
();
param
.
put
(
"id"
,
weeklyPublicationId
);
response
=
network
.
getResponse
(
param
,
BasicConfig
.
WEEKLY_INDEXINFO
);
int
clueCount
=
response
.
jsonPath
().
getInt
(
"data.clueCount"
);
int
forwardCount
=
response
.
jsonPath
().
getInt
(
"data.forwardCount"
);
Assert
.
assertEquals
(
clueCount
,
123
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_INDEXINFO
,
"获得线索总数错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
forwardCount
,
124
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_INDEXINFO
,
"总转发数错误"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"运营周报_获取代理人素材统计信息"
,
priority
=
13
)
public
void
运营周报
_
获取代理人素材统计信息
()
throws
IOException
{
param
.
clear
();
param
.
put
(
"id"
,
weeklyPublicationId
);
response
=
network
.
getResponse
(
param
,
BasicConfig
.
WEEKLY_CONTENTSTATS
);
int
contentForwardCount
=
response
.
jsonPath
().
getInt
(
"data.contentForwardCount"
);
int
visitContentCount
=
response
.
jsonPath
().
getInt
(
"data.visitContentCount"
);
Assert
.
assertEquals
(
contentForwardCount
,
14
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_CONTENTSTATS
,
"素材转发数错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
visitContentCount
,
124
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_CONTENTSTATS
,
"素材累计来访次数错误"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"运营周报_获取代理人名片统计信息"
,
priority
=
14
)
public
void
运营周报
_
获取代理人名片统计信息
()
throws
IOException
{
param
.
clear
();
param
.
put
(
"id"
,
weeklyPublicationId
);
response
=
network
.
getResponse
(
param
,
BasicConfig
.
WEEKLY_CARDSTATS
);
int
forwardCardCount
=
response
.
jsonPath
().
getInt
(
"data.forwardCardCount"
);
int
visitCardCount
=
response
.
jsonPath
().
getInt
(
"data.visitCardCount"
);
Assert
.
assertEquals
(
forwardCardCount
,
12
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_CARDSTATS
,
"名片转发数错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
visitCardCount
,
141
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_CARDSTATS
,
"名片累计来访次数错误"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"运营周报_获取周报客户统计信息"
,
priority
=
15
)
public
void
运营周报
_
获取周报客户统计信息
()
throws
IOException
{
param
.
clear
();
param
.
put
(
"id"
,
weeklyPublicationId
);
response
=
network
.
getResponse
(
param
,
BasicConfig
.
WEEKLY_CUSTOMERSTATS
);
int
newCustomerCount
=
response
.
jsonPath
().
getInt
(
"data.newCustomerCount"
);
Assert
.
assertEquals
(
newCustomerCount
,
14
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_CUSTOMERSTATS
,
"新用户数量错误"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"运营周报_获取周报线索统计信息"
,
priority
=
16
)
public
void
运营周报
_
获取周报线索统计信息
()
throws
IOException
{
param
.
clear
();
param
.
put
(
"id"
,
weeklyPublicationId
);
response
=
network
.
getResponse
(
param
,
BasicConfig
.
WEEKLY_CLUESTATS
);
int
clueCount
=
response
.
jsonPath
().
getInt
(
"data.clueCount"
);
Assert
.
assertEquals
(
clueCount
,
123
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_CLUESTATS
,
"获得线索总数错误"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"运营周报_每日统计信息"
,
priority
=
17
)
public
void
运营周报
_
每日统计信息
()
throws
IOException
{
param
.
clear
();
param
.
put
(
"id"
,
weeklyPublicationId
);
response
=
network
.
getResponse
(
param
,
BasicConfig
.
WEEKLY_DATESTATS
);
int
clueCount
=
response
.
jsonPath
().
getInt
(
"data.clueCount"
);
int
visitCount
=
response
.
jsonPath
().
getInt
(
"data.visitCount"
);
Assert
.
assertEquals
(
clueCount
,
123
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_DATESTATS
,
"获得线索总数错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
visitCount
,
124
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_DATESTATS
,
"累计来访次数错误"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"运营周报_获取周报海报信息"
,
priority
=
18
)
public
void
运营周报
_
获取周报海报信息
()
throws
IOException
{
param
.
clear
();
param
.
put
(
"id"
,
weeklyPublicationId
);
response
=
network
.
getResponse
(
param
,
BasicConfig
.
WEEKLY_POSTERINFO
);
String
positiveAna
=
response
.
jsonPath
().
getString
(
"data.positiveAna"
);
scid
=
response
.
jsonPath
().
getString
(
"data.scid"
);
Assert
.
assertEquals
(
positiveAna
,
"不是所有弯路都值得再走一遍,但是每次分享都值得再读一遍"
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_POSTERINFO
,
"海报文案内容错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
scid
,
"Kj20MjIyNjk1"
,
network
.
message
(
param
,
BasicConfig
.
WEEKLY_POSTERINFO
,
"海报scid错误"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"运营周报_生成代理人头像二维码"
,
priority
=
19
)
public
void
运营周报
_
生成代理人头像二维码
()
throws
IOException
{
long
xxxUserId
=
far
.
decodeTku
(
BasicConfig
.
VISITOR2_TKU
).
get
(
"userId"
);
param
.
clear
();
param
.
put
(
"needAvatarCover"
,
true
);
param
.
put
(
"pageType"
,
1
);
param
.
put
(
"scene"
,
scid
+
","
+
xxxUserId
+
",s=1"
);
param
.
put
(
"visitorId"
,
xxxUserId
);
response
=
network
.
postResponse
(
param
,
BasicConfig
.
SELLERCARD_AYSNCGETMPORCODE
);
Object
data
=
response
.
jsonPath
().
getJsonObject
(
"data"
);
Assert
.
assertNotNull
(
data
,
network
.
message
(
param
,
BasicConfig
.
SELLERCARD_AYSNCGETMPORCODE
,
"生成代理人头像二维码失败"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"运营周报_获取往期周报列表"
,
priority
=
20
)
public
void
运营周报
_
获取往期周报列表
()
throws
IOException
{
response
=
network
.
getResponse
(
BasicConfig
.
WEEKLY_LIST
);
boolean
success
=
response
.
jsonPath
().
getBoolean
(
"success"
);
Assert
.
assertTrue
(
success
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"接口请求失败"
,
response
.
body
().
asString
()));
List
<
WeeklyList
>
weeklyLists
=
JsonUtil
.
parseResponseToListBean
(
response
,
WeeklyList
.
class
);
int
weeklyTotalCount
=
weeklyLists
.
size
();
String
freshWeeklyYearMonth
=
weeklyLists
.
get
(
0
).
getYearMonth
();
List
<
WeeklyList
.
weeklyPublication
>
freshWeeklyPublications
=
weeklyLists
.
get
(
0
).
getWeeklyPublications
();
String
startDate
=
freshWeeklyPublications
.
get
(
0
).
getStartDate
();
String
endDate
=
freshWeeklyPublications
.
get
(
0
).
getEndDate
();
String
id
=
freshWeeklyPublications
.
get
(
0
).
getId
();
int
freshVisitorNum
=
freshWeeklyPublications
.
get
(
0
).
getFreshVisitorNum
();
int
keyClueNum
=
freshWeeklyPublications
.
get
(
0
).
getKeyCluesNum
();
boolean
newWeekly
=
freshWeeklyPublications
.
get
(
0
).
isNewWeekly
();
int
totalShareNum
=
freshWeeklyPublications
.
get
(
0
).
getTotalShareNum
();
int
totalVisitorNum
=
freshWeeklyPublications
.
get
(
0
).
getTotalVisitorNum
();
Assert
.
assertEquals
(
weeklyTotalCount
,
3
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"往期周报数量错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
freshWeeklyYearMonth
,
"2021年7月"
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"最近一次周报所属年月错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
startDate
,
"7月26日"
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"周报开始日期错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
endDate
,
"8月1日"
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"周报结束日期错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
id
,
weeklyPublicationId
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"周报id错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
freshVisitorNum
,
14
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"新增访客数量错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
keyClueNum
,
0
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"关键线索数量错误"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
newWeekly
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"判断为非新周报"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
totalShareNum
,
124
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"统计分享数量错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
totalVisitorNum
,
124
,
network
.
message
(
BasicConfig
.
WEEKLY_LIST
,
"统计访客数量错误"
,
response
.
body
().
asString
()));
}
// 进入团队看板首页
@Test
(
description
=
"进入团队看板首页"
,
priority
=
13
)
@Test
(
description
=
"进入团队看板首页"
,
priority
=
21
)
public
void
进入团队看板首页
()
throws
IOException
{
// 获取当前页面Tips
param
.
clear
();
...
...
@@ -207,7 +316,7 @@ public class WhoSawMe implements Authorization {
}
// 邀请成员加入团队
@Test
(
description
=
"生成团队邀请码"
,
priority
=
14
)
@Test
(
description
=
"生成团队邀请码"
,
priority
=
22
)
public
void
生成团队邀请码
()
throws
IOException
{
Integer
inviteType
=
2
;
param
=
new
HashMap
<>();
...
...
@@ -217,7 +326,7 @@ public class WhoSawMe implements Authorization {
Assert
.
assertNotNull
(
data
,
network
.
message
(
param
,
BasicConfig
.
BOSS_CODE
,
"获取团队邀请码失败"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"其他代理人加入该代理人团队"
,
priority
=
15
)
@Test
(
description
=
"其他代理人加入该代理人团队"
,
priority
=
23
)
public
void
邀请加入团队
()
throws
IOException
{
// 切换代理人加入团队
network
.
agentCookies
.
put
(
"tku"
,
BasicConfig
.
AGENT_TKU
);
...
...
@@ -239,7 +348,7 @@ public class WhoSawMe implements Authorization {
network
.
agentCookies
.
put
(
"tku"
,
BasicConfig
.
VISITOR2_TKU
);
}
@Test
(
description
=
"查看被邀请代理人上级名称"
,
priority
=
16
)
@Test
(
description
=
"查看被邀请代理人上级名称"
,
priority
=
24
)
public
void
查看上级名称
()
throws
IOException
{
// 获取被邀请代理人sellerId
childSellerId
=
far
.
decodeTku
(
BasicConfig
.
AGENT_TKU
).
get
(
"sellerId"
);
...
...
@@ -252,7 +361,7 @@ public class WhoSawMe implements Authorization {
}
// 获取代理人团队信息
@Test
(
description
=
"代理人团队信息"
,
priority
=
17
)
@Test
(
description
=
"代理人团队信息"
,
priority
=
25
)
public
void
代理人团队信息
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"sellerId"
,
xxxSellerId
);
...
...
@@ -265,7 +374,7 @@ public class WhoSawMe implements Authorization {
}
// 代理人团队成员数
@Test
(
description
=
"代理人团队成员数"
,
priority
=
18
)
@Test
(
description
=
"代理人团队成员数"
,
priority
=
26
)
public
void
代理人团队成员数
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"superiorId"
,
xxxSellerId
);
...
...
@@ -276,7 +385,7 @@ public class WhoSawMe implements Authorization {
}
// 获取个人排行列表
@Test
(
description
=
"获取个人排行列表"
,
priority
=
19
)
@Test
(
description
=
"获取个人排行列表"
,
priority
=
27
)
public
void
获取个人排行列表
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"pageIndex"
,
1
);
...
...
@@ -300,7 +409,7 @@ public class WhoSawMe implements Authorization {
// 团队架构
// 团队架构_当前代理人身份
@Test
(
description
=
"团队架构_当前代理人身份"
,
priority
=
2
0
)
@Test
(
description
=
"团队架构_当前代理人身份"
,
priority
=
2
8
)
public
void
团队架构
_
当前代理人身份
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"sellerId"
,
xxxSellerId
);
...
...
@@ -310,7 +419,7 @@ public class WhoSawMe implements Authorization {
}
// 团队架构_搜索成员
@Test
(
description
=
"团队架构_搜索成员"
,
priority
=
2
1
)
@Test
(
description
=
"团队架构_搜索成员"
,
priority
=
2
9
)
public
void
团队架构
_
搜索成员
()
throws
IOException
{
jjSellerId
=
far
.
decodeTku
(
BasicConfig
.
AGENT_TKU
).
get
(
"sellerId"
);
param
=
new
HashMap
<>();
...
...
@@ -341,7 +450,7 @@ public class WhoSawMe implements Authorization {
}
// 查看今日转发素材列表
@Test
(
description
=
"查看今日转发素材列表"
,
priority
=
22
)
@Test
(
description
=
"查看今日转发素材列表"
,
priority
=
30
)
public
void
查看转发素材列表
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"sellerId"
,
xxxSellerId
);
...
...
@@ -355,7 +464,7 @@ public class WhoSawMe implements Authorization {
}
// 查看转发名片记录列表
@Test
(
description
=
"查看转发名片记录列表"
,
priority
=
23
)
@Test
(
description
=
"查看转发名片记录列表"
,
priority
=
31
)
public
void
查看转发名片记录列表
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"sellerId"
,
xxxSellerId
);
...
...
@@ -368,7 +477,7 @@ public class WhoSawMe implements Authorization {
}
// 使用工具
@Test
(
description
=
"使用工具"
,
priority
=
24
)
@Test
(
description
=
"使用工具"
,
priority
=
32
)
public
void
使用工具
()
throws
IOException
{
// 生成抽奖转盘素材scId
String
lottery_scId
=
far
.
getContentScId
(
BasicConfig
.
LOTTERY_CONTENTID
);
...
...
@@ -383,7 +492,7 @@ public class WhoSawMe implements Authorization {
}
// 查看使用工具记录列表
@Test
(
description
=
"查看使用工具记录列表"
,
priority
=
25
)
@Test
(
description
=
"查看使用工具记录列表"
,
priority
=
33
)
public
void
查看使用工具记录列表
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"sellerId"
,
xxxSellerId
);
...
...
@@ -397,7 +506,7 @@ public class WhoSawMe implements Authorization {
}
// 查看获得线索记录列表
@Test
(
description
=
"查看获得线索记录列表"
,
priority
=
26
)
@Test
(
description
=
"查看获得线索记录列表"
,
priority
=
34
)
public
void
查看获得线索记录列表
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"sellerId"
,
xxxSellerId
);
...
...
@@ -411,7 +520,7 @@ public class WhoSawMe implements Authorization {
}
// 查看转发动态访问列表
@Test
(
description
=
"查看转发素材访问列表"
,
priority
=
27
)
@Test
(
description
=
"查看转发素材访问列表"
,
priority
=
35
)
public
void
查看转发素材访问列表
()
throws
IOException
{
// 获取首条素材列表中首条动态id
param
=
new
HashMap
<>();
...
...
@@ -432,7 +541,7 @@ public class WhoSawMe implements Authorization {
}
// 销售线索_新线索引导
@Test
(
description
=
"销售线索详情_新线索引导"
,
priority
=
28
)
@Test
(
description
=
"销售线索详情_新线索引导"
,
priority
=
36
)
public
void
销售线索详情
_
新线索引导
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"guideType"
,
34
);
...
...
@@ -442,7 +551,7 @@ public class WhoSawMe implements Authorization {
}
// 销售线索_线索详情
@Test
(
description
=
"销售线索_线索详情"
,
priority
=
29
)
@Test
(
description
=
"销售线索_线索详情"
,
priority
=
37
)
public
void
销售线索
_
线索详情
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"clueId"
,
clueId
);
...
...
@@ -457,7 +566,7 @@ public class WhoSawMe implements Authorization {
}
// 销售线索_跟进建议
@Test
(
description
=
"销售线索_跟进建议"
,
priority
=
3
0
)
@Test
(
description
=
"销售线索_跟进建议"
,
priority
=
3
8
)
public
void
销售线索
_
跟进建议
()
throws
IOException
{
param
=
new
HashMap
<>();
param
.
put
(
"clueId"
,
clueId
);
...
...
@@ -468,7 +577,7 @@ public class WhoSawMe implements Authorization {
}
// 管理客户信息
@Test
(
description
=
"管理客户信息"
,
priority
=
3
1
)
@Test
(
description
=
"管理客户信息"
,
priority
=
3
9
)
public
void
管理客户信息
()
throws
IOException
{
List
<
String
>
tagIds
=
Lists
.
newArrayList
();
tagIds
.
add
(
tagId0
);
...
...
@@ -483,7 +592,7 @@ public class WhoSawMe implements Authorization {
}
// 销售线索_获取访客管理信息
@Test
(
description
=
"销售线索_获取访客管理信息"
,
priority
=
32
)
@Test
(
description
=
"销售线索_获取访客管理信息"
,
priority
=
40
)
public
void
销售线索
_
获取访客管理信息
()
throws
IOException
{
String
encodeUserId
=
far
.
encodeId
(
xxrUserId
);
param
=
new
HashMap
<>();
...
...
src/test/java/com/kjj/config/BasicConfig.java
View file @
cc53b4de
...
...
@@ -723,6 +723,15 @@ public class BasicConfig {
public
static
final
String
CLUEINFO
=
HOST
+
"/kjy/mp/whoSawMe/clue/info"
;
public
static
final
String
CLUEADVISE
=
HOST
+
"/kjy/mp/whoSawMe/clue/info/advise"
;
// *************** 运营周报 ***************
public
static
final
String
WEEKLY_INDEXINFO
=
HOST
+
"/kjy/mp/weekly/getWeeklyIndexInfo"
;
public
static
final
String
WEEKLY_CONTENTSTATS
=
HOST
+
"/kjy/mp/weekly/getSellerContentStatsInfo"
;
public
static
final
String
WEEKLY_CARDSTATS
=
HOST
+
"/kjy/mp/weekly/getSellerCardStatsInfo"
;
public
static
final
String
WEEKLY_CUSTOMERSTATS
=
HOST
+
"/kjy/mp/weekly/getSellerWeeklyCustomerStatsInfo"
;
public
static
final
String
WEEKLY_CLUESTATS
=
HOST
+
"/kjy/mp/weekly/getSellerWeeklyClueStatsInfo"
;
public
static
final
String
WEEKLY_DATESTATS
=
HOST
+
"/kjy/mp/weekly/getSellerWeeklyDateStatsInfo"
;
public
static
final
String
WEEKLY_POSTERINFO
=
HOST
+
"/kjy/mp/weekly/getSellerWeeklyPosterInfo"
;
// *************** 客户信息 ***************
public
static
final
String
CUSTINFOHEADER
=
HOST
+
"/kjy/mp/whoSawMe/custInfoHeader"
;
public
static
final
String
CUSTINFO
=
HOST
+
"/kjy/mp/seller/v2/custInfo"
;
...
...
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