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
fd99ce51
Commit
fd99ce51
authored
Oct 08, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开启直播前增加校验是否有直播场次未结束
parent
bc45e333
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
Dialogue.java
src/test/java/com/kjj/bean/issue/Dialogue.java
+1
-5
SaveLive.java
src/test/java/com/kjj/cases/live/liveConfig/SaveLive.java
+2
-2
No files found.
src/test/java/com/kjj/bean/issue/Dialogue.java
View file @
fd99ce51
...
...
@@ -10,19 +10,15 @@ public class Dialogue {
private
String
agentConclusion
;
private
String
agentGreet
;
private
String
promiseTitle
;
private
String
promiseDesc
;
private
String
promiseButton
;
private
String
customerActionPromise
;
private
int
inviteType
;
public
Dialogue
(
ArrayList
<
String
>
quesList
,
String
agentConclusion
,
String
agentGreet
,
String
promiseTitle
,
String
promise
Desc
,
String
promiseButton
,
String
customerActionPromise
,
int
inviteType
)
{
public
Dialogue
(
ArrayList
<
String
>
quesList
,
String
agentConclusion
,
String
agentGreet
,
String
promiseTitle
,
String
promise
Button
,
int
inviteType
)
{
this
.
quesList
=
quesList
;
this
.
agentConclusion
=
agentConclusion
;
this
.
agentGreet
=
agentGreet
;
this
.
promiseTitle
=
promiseTitle
;
this
.
promiseDesc
=
promiseDesc
;
this
.
promiseButton
=
promiseButton
;
this
.
customerActionPromise
=
customerActionPromise
;
this
.
inviteType
=
inviteType
;
}
}
src/test/java/com/kjj/cases/live/liveConfig/SaveLive.java
View file @
fd99ce51
...
...
@@ -1348,8 +1348,8 @@ public class SaveLive implements Authorization {
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
ArrayList
<
Dialogue
>
dialogues
=
new
ArrayList
<>();
dialogues
.
add
(
new
Dialogue
(
new
ArrayList
<>(
Arrays
.
asList
(
"一度问题1"
,
"一度问题2"
,
"一度问题3"
)),
"一度代理人结束语"
,
"一度代理人欢迎语"
,
"一度承诺标题"
,
"一度承诺
描述"
,
"一度承诺按钮文案"
,
"一度行动承诺
"
,
1
));
dialogues
.
add
(
new
Dialogue
(
new
ArrayList
<>(
Arrays
.
asList
(
"二度问题1"
,
"二度问题2"
,
"二度问题3"
)),
"二度代理人结束语"
,
"二度代理人欢迎语"
,
"二度承诺标题"
,
"二度承诺
描述"
,
"二度承诺按钮文案"
,
"二度行动承诺
"
,
0
));
dialogues
.
add
(
new
Dialogue
(
new
ArrayList
<>(
Arrays
.
asList
(
"一度问题1"
,
"一度问题2"
,
"一度问题3"
)),
"一度代理人结束语"
,
"一度代理人欢迎语"
,
"一度承诺标题"
,
"一度承诺
按钮文案
"
,
1
));
dialogues
.
add
(
new
Dialogue
(
new
ArrayList
<>(
Arrays
.
asList
(
"二度问题1"
,
"二度问题2"
,
"二度问题3"
)),
"二度代理人结束语"
,
"二度代理人欢迎语"
,
"二度承诺标题"
,
"二度承诺
按钮文案
"
,
0
));
Params
.
put
(
"dialogues"
,
dialogues
);
Response
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_saveDialogue
);
System
.
out
.
println
(
Params
);
...
...
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