Commit ebf45a54 authored by 马博's avatar 马博

fix

parent 97fb2ed1
......@@ -173,13 +173,13 @@ public class 自有新卡密_兑换限制测试_ExchangeTest extends CheckTemple
i--;
}
Thread.sleep(3000);
Response detailResponse = mobileService.appItemDetail(authorization.dafuwengLogin(uid),appItemId);
detailResponse.prettyPrint();
String exchangeText = MatcherString.getString(detailResponse.asString(), "\"exchangeText\":\"(.*?)\",", 1);
logger.info("商品兑换按钮:" + exchangeText);
//第二次兑换
Thread.sleep(3000);
try{
response = gawService.couponExchange(uid, appItemId,82);
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