Commit ca2bb3bf authored by 龚小红's avatar 龚小红

Merge branch 'Feature/20211011-gxh' into 'master'

修改提交中奖地址用例

See merge request test-group/kejiji!134
parents 131275d6 1f402be2
...@@ -1032,7 +1032,7 @@ public class GoldenEgg implements Authorization { ...@@ -1032,7 +1032,7 @@ public class GoldenEgg implements Authorization {
visitorAuth(); visitorAuth();
ThreadSleepUtils.sleep(1000); ThreadSleepUtils.sleep(1000);
Map<String, Object> locationResultParam = new HashMap<>(); Map<String, Object> locationResultParam = new HashMap<>();
locationResultParam.put("liveId", "Kj21NTE3Mjc"); locationResultParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
locationResultParam.put("scene", 1); locationResultParam.put("scene", 1);
Response locationResultRes = network.getResponse(locationResultParam, BasicConfig.USER_locationResult); Response locationResultRes = network.getResponse(locationResultParam, BasicConfig.USER_locationResult);
System.out.println(locationResultRes.body().asString()); System.out.println(locationResultRes.body().asString());
...@@ -1048,8 +1048,8 @@ public class GoldenEgg implements Authorization { ...@@ -1048,8 +1048,8 @@ public class GoldenEgg implements Authorization {
region.add("杭州市"); region.add("杭州市");
region.add("西湖区"); region.add("西湖区");
Map<String, Object> submitInfoParam = new HashMap<>(); Map<String, Object> submitInfoParam = new HashMap<>();
submitInfoParam.put("liveId", "Kj21NTE3Mjc"); submitInfoParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
submitInfoParam.put("confId", "Kj20NjIwNTY3"); submitInfoParam.put("confId",interactConfId);
submitInfoParam.put("winnerName", "中奖人"); submitInfoParam.put("winnerName", "中奖人");
submitInfoParam.put("region", region); submitInfoParam.put("region", region);
submitInfoParam.put("location", "西湖区数娱大厦"); submitInfoParam.put("location", "西湖区数娱大厦");
...@@ -1066,7 +1066,7 @@ public class GoldenEgg implements Authorization { ...@@ -1066,7 +1066,7 @@ public class GoldenEgg implements Authorization {
visitorAuth(); visitorAuth();
ThreadSleepUtils.sleep(1000); ThreadSleepUtils.sleep(1000);
Map<String, Object> locationResultParam = new HashMap<>(); Map<String, Object> locationResultParam = new HashMap<>();
locationResultParam.put("liveId", "Kj21NTE3Mjc"); locationResultParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
locationResultParam.put("scene", 1); locationResultParam.put("scene", 1);
Response locationResultRes = network.getResponse(locationResultParam, BasicConfig.USER_locationResult); Response locationResultRes = network.getResponse(locationResultParam, BasicConfig.USER_locationResult);
System.out.println(locationResultRes.body().asString()); System.out.println(locationResultRes.body().asString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment