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
fe55dddf
Commit
fe55dddf
authored
Dec 05, 2018
by
钱雯君
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
87c4f601
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
pk_开奖_瓜分优惠券.java
src/test/java/http/cases/PkTest/pk_开奖_瓜分优惠券.java
+0
-0
PkActivityService.java
src/test/java/http/service/Manager/PkActivityService.java
+14
-1
No files found.
src/test/java/http/cases/PkTest/pk_开奖_瓜分优惠券.java
View file @
fe55dddf
This diff is collapsed.
Click to expand it.
src/test/java/http/service/Manager/PkActivityService.java
View file @
fe55dddf
...
...
@@ -332,7 +332,19 @@ public class PkActivityService {
award
.
put
(
"name"
,
"LV优惠券自动化测试链接券"
);
award
.
put
(
"stockAfterChange"
,
"10"
);
award
.
put
(
"remaining"
,
"10"
);
Map
<
String
,
String
>
award2
=
new
HashMap
<>();
award
.
put
(
"type"
,
"thanks"
);
award
.
put
(
"description"
,
"谢谢参与"
);
award
.
put
(
"logo"
,
"//yun.duiba.com.cn/upload/uP99F1462438316972.png"
);
award
.
put
(
"valid"
,
"true"
);
award
.
put
(
"rate"
,
""
);
award
.
put
(
"arealimit"
,
"false"
);
award
.
put
(
"stockBeforeChange"
,
"0"
);
award
.
put
(
"stockAfterChange"
,
"0"
);
award
.
put
(
"remaining"
,
"0"
);
listPrizes
.
add
(
award
);
listPrizes
.
add
(
award2
);
String
prizes
=
JSON
.
toJSONString
(
listPrizes
);
...
...
@@ -353,7 +365,7 @@ public class PkActivityService {
map
.
put
(
"tag"
,
"[]"
);
map
.
put
(
"triggerType"
,
"1"
);
map
.
put
(
"hiddenForDeveloper"
,
"false"
);
map
.
put
(
"joinVerificy"
,
"
fals
e"
);
map
.
put
(
"joinVerificy"
,
"
tru
e"
);
map
.
put
(
"duibaRelateMode"
,
"false"
);
map
.
put
(
"channelType"
,
"0"
);
map
.
put
(
"token"
,
token
);
...
...
@@ -361,6 +373,7 @@ public class PkActivityService {
map
.
put
(
"subType"
,
"plugdraw"
);
map
.
put
(
"joinVerificyMode"
,
"15"
);
map
.
put
(
"pkId"
,
pkActivityId
);
logger
.
info
(
"请求保存插件活动接口的参数为:"
+
JSONObject
.
toJSONString
(
map
));
logger
.
info
(
"请求保存插件活动接口:"
+
saveUrl
);
Response
saveResponse
=
given
().
contentType
(
"application/x-www-form-urlencoded;charset=UTF-8"
).
cookies
(
authorization
.
ssoLogin
()).
params
(
map
).
post
(
"http://"
+
saveUrl
);
...
...
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