Commit 02d4f861 authored by xiamengchen's avatar xiamengchen

秒杀限制需求合入

parent 7f0d770b
...@@ -8,6 +8,7 @@ import com.kjj.constants.LiveConstants; ...@@ -8,6 +8,7 @@ import com.kjj.constants.LiveConstants;
import com.kjj.utils.BaseUtils; import com.kjj.utils.BaseUtils;
import com.kjj.utils.IdMakeUtil; import com.kjj.utils.IdMakeUtil;
import com.kjj.utils.JsonUtil; import com.kjj.utils.JsonUtil;
import com.kjj.utils.ThreadSleepUtils;
import io.restassured.response.Response; import io.restassured.response.Response;
import org.testng.Assert; import org.testng.Assert;
import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeClass;
...@@ -682,7 +683,7 @@ public class SecondKill implements Authorization { ...@@ -682,7 +683,7 @@ public class SecondKill implements Authorization {
// 等待两分钟代理人释放第二轮次库存 // 等待两分钟代理人释放第二轮次库存
ThreadSleepUtils.sleep(180000); ThreadSleepUtils.sleep(180000);
// 用户下单 // 用户下单
visitorAuth(); visitorAuth1();
Map<String, Object> orderPar = new HashMap<>(); Map<String, Object> orderPar = new HashMap<>();
orderPar.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey())); orderPar.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.ENCODE_LIVE_ID.getKey()));
orderPar.put("confId", ConfSecondKill.skIdSecond); orderPar.put("confId", ConfSecondKill.skIdSecond);
......
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