Commit e5293757 authored by wangxiaoshuang's avatar wangxiaoshuang

wxs

parent cc94fd1f
...@@ -123,12 +123,10 @@ public class 自有优惠券测试_ExchangeTest extends AbstractTestNGSpringCont ...@@ -123,12 +123,10 @@ public class 自有优惠券测试_ExchangeTest extends AbstractTestNGSpringCont
logger.info("校验title,belong成功"); logger.info("校验title,belong成功");
//获取商品id //获取商品id
appItemId = String.valueOf(response.jsonPath().getString("data.list[0].id")); appItemId = String.valueOf(response.jsonPath().getString("data.list[0].id"));
System.out.println("rrrrr========"+appItemId);
//导入普通的券码 //导入普通的券码
Response quanma =developerCouponService.doPTAddGoodsCouponsNew("19515",appItemId); Response quanma =developerCouponService.doPTAddGoodsCouponsNew("19515",appItemId);
String remaind= String.valueOf(quanma.jsonPath().getString("data.totalNum")); String remaind= String.valueOf(quanma.jsonPath().getString("data.totalNum"));
System.out.println("rrrrr========"+remaind);
//上传需要时间,休眠5秒 //上传需要时间,休眠5秒
Thread.sleep(5000); Thread.sleep(5000);
//查看商品列表确认商品成功添加 //查看商品列表确认商品成功添加
......
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