Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
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
马博
test-platform
Commits
e4119e24
Commit
e4119e24
authored
Dec 12, 2018
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
8354e0bf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
瓜分积分_作弊瓜分.java
src/test/java/http/cases/PkMoudleTest/瓜分积分_作弊瓜分.java
+1
-1
瓜分积分_实际瓜分.java
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分.java
+1
-1
PkDevelopService.java
src/test/java/http/service/hd/PkDevelopService.java
+2
-2
No files found.
src/test/java/http/cases/PkMoudleTest/瓜分积分_作弊瓜分.java
View file @
e4119e24
...
...
@@ -46,7 +46,7 @@ public class 瓜分积分_作弊瓜分 extends DuibaTestBase {
@Test
public
void
创建
PK
活动
()
throws
Exception
{
Response
response
=
pkDevelopService
.
betEditor
(
"21827"
,
"4"
,
"1"
,
"30"
);
Response
response
=
pkDevelopService
.
betEditor
(
"21827"
,
"4"
,
"1"
,
"
1"
,
"
30"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"desc"
),
"成功"
,
"创建组件化pk活动失败"
);
response
=
pkService
.
getBetList
(
uid1
);
...
...
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分.java
View file @
e4119e24
...
...
@@ -48,7 +48,7 @@ public class 瓜分积分_实际瓜分 extends DuibaTestBase {
@Test
public
void
创建
PK
活动
()
throws
Exception
{
Response
response
=
pkDevelopService
.
betEditor
(
"21771"
,
"4"
,
null
,
"30"
);
Response
response
=
pkDevelopService
.
betEditor
(
"21771"
,
"4"
,
null
,
"
1"
,
"
30"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"desc"
),
"成功"
,
"创建组件化pk活动失败"
);
response
=
pkService
.
getBetList
(
uid1
);
...
...
src/test/java/http/service/hd/PkDevelopService.java
View file @
e4119e24
...
...
@@ -42,7 +42,7 @@ public class PkDevelopService {
private
DuibaLog
logger
=
DuibaLog
.
getLogger
();
public
Response
betEditor
(
String
appId
,
String
bonusType
,
String
bonusAmount
,
String
shareExp
)
throws
Exception
{
public
Response
betEditor
(
String
appId
,
String
bonusType
,
String
bonusAmount
,
String
creditsValue
,
String
shareExp
)
throws
Exception
{
String
data
=
PublicMethod
.
data
();
String
url
=
"http://"
+
hdHost
+
"/visual-editor/bet/post"
;
...
...
@@ -74,7 +74,7 @@ public class PkDevelopService {
}
betDevelopVo
.
setBonusAmount
(
bonusAmount
);
betDevelopVo
.
setConfigStatus
(
"3"
);
betDevelopVo
.
setCreditsValue
(
"1"
);
betDevelopVo
.
setCreditsValue
(
creditsValue
);
betDevelopVo
.
setEndTime
(
"2029-12-31 00:00"
);
betDevelopVo
.
setShareExp
(
shareExp
);
...
...
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