Commit 47cd5773 authored by 马博's avatar 马博

fix

parent 008a221c
......@@ -68,7 +68,7 @@ public class Qb_兑换限制测试_ExchangeTest extends CheckTemplet {
int uid = 4932;
//第一次兑换
Thread.sleep(3000);
Thread.sleep(4000);
Response response = qbExchangeService.doTakePrize(authorization.dafuwengLogin(uid),"1234345554","1");
String orderId = (String)response.jsonPath().get("orderId");
response = mobileService.orderStatusQuery(authorization.dafuwengLogin(uid),orderId);
......@@ -81,7 +81,7 @@ public class Qb_兑换限制测试_ExchangeTest extends CheckTemplet {
i--;
}
//第二次兑换
Thread.sleep(3000);
Thread.sleep(4000);
response = qbExchangeService.doTakePrize1(authorization.dafuwengLogin(uid),"1234345554","1");
message = response.jsonPath().getString("message");
logger.info(message);
......@@ -101,7 +101,7 @@ public class Qb_兑换限制测试_ExchangeTest extends CheckTemplet {
int uid = 4933;
//第一次兑换
Thread.sleep(3000);
Thread.sleep(4000);
Response response = qbExchangeService.doTakePrize(authorization.dafuwengLogin(uid),"1234345554","2");
String orderId = (String)response.jsonPath().get("orderId");
response = mobileService.orderStatusQuery(authorization.dafuwengLogin(uid),orderId);
......@@ -114,7 +114,7 @@ public class Qb_兑换限制测试_ExchangeTest extends CheckTemplet {
i--;
}
//第二次兑换
Thread.sleep(3000);
Thread.sleep(4000);
response = qbExchangeService.doTakePrize1(authorization.dafuwengLogin(uid),"12343455541","2");
response.prettyPrint();
message = response.jsonPath().getString("message");
......@@ -137,7 +137,7 @@ public class Qb_兑换限制测试_ExchangeTest extends CheckTemplet {
int uid = 4933;
//第一次兑换
Thread.sleep(3000);
Thread.sleep(4000);
Response response = qbExchangeService.doTakePrize(authorization.dafuwengLogin(uid),"1234345554","3");
String orderId = (String)response.jsonPath().get("orderId");
response = mobileService.orderStatusQuery(authorization.dafuwengLogin(uid),orderId);
......@@ -150,7 +150,7 @@ public class Qb_兑换限制测试_ExchangeTest extends CheckTemplet {
i--;
}
//第二次兑换
Thread.sleep(3000);
Thread.sleep(4000);
response = qbExchangeService.doTakePrize1(authorization.dafuwengLogin(uid),"12343455541","3");
response.prettyPrint();
message = response.jsonPath().getString("message");
......@@ -179,7 +179,7 @@ public class Qb_兑换限制测试_ExchangeTest extends CheckTemplet {
//会员等级无法兑换
try{
Thread.sleep(3000);
Thread.sleep(4000);
Response response = qbExchangeService.doTakePrize(authorization.dafuwengLogin(uid),"1234345554",degreeId);
response.prettyPrint();
......@@ -189,7 +189,7 @@ public class Qb_兑换限制测试_ExchangeTest extends CheckTemplet {
logger.info(message);
//会员等级可兑换,vip=5
Thread.sleep(3000);
Thread.sleep(4000);
Response response = qbExchangeService.doTakePrize(authorization.generateSignAutoLogin("42vkFzeLnoNjXt6AhMM7LPj4G8pT",vipUid),"1234345554",degreeId);
response.prettyPrint();
......
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