Commit 1f402be2 authored by 龚小红's avatar 龚小红

修改提交中奖地址用例

parent 0feab100
......@@ -1032,7 +1032,7 @@ public class GoldenEgg implements Authorization {
visitorAuth();
ThreadSleepUtils.sleep(1000);
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);
Response locationResultRes = network.getResponse(locationResultParam, BasicConfig.USER_locationResult);
System.out.println(locationResultRes.body().asString());
......@@ -1048,8 +1048,8 @@ public class GoldenEgg implements Authorization {
region.add("杭州市");
region.add("西湖区");
Map<String, Object> submitInfoParam = new HashMap<>();
submitInfoParam.put("liveId", "Kj21NTE3Mjc");
submitInfoParam.put("confId", "Kj20NjIwNTY3");
submitInfoParam.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
submitInfoParam.put("confId",interactConfId);
submitInfoParam.put("winnerName", "中奖人");
submitInfoParam.put("region", region);
submitInfoParam.put("location", "西湖区数娱大厦");
......@@ -1066,7 +1066,7 @@ public class GoldenEgg implements Authorization {
visitorAuth();
ThreadSleepUtils.sleep(1000);
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);
Response locationResultRes = network.getResponse(locationResultParam, BasicConfig.USER_locationResult);
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