Commit 2957c24e authored by 赵然's avatar 赵然

zr

parent 1cb476f3
...@@ -63,8 +63,12 @@ public class 种红包新用户_AccessTest extends DuibaTestBase{ ...@@ -63,8 +63,12 @@ public class 种红包新用户_AccessTest extends DuibaTestBase{
//dafuweng登陆获取cookies //dafuweng登陆获取cookies
Map cookies = authorization.dafuwengLogin(uid); Map cookies = authorization.dafuwengLogin(uid);
//调用getLandList接口 //调用getLandList接口,生成新人待收获红包,并校验第一块土地默认解锁
Response response = seedRedPacketService.getLandList(cookies,"1","424"); Response response = seedRedPacketService.getLandList(cookies,"1","424");
String landStatus = response.jsonPath().getString("data.landList[0].landStatus");
Assert.assertEquals(landStatus,"4","新人第一块土地状态校验失败");
Thread.sleep(1000); Thread.sleep(1000);
//获取新人红包订单号 //获取新人红包订单号
Map<String,Object> sqlResult = jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_"+tag+" where consumer_id ="+consumerId+" and activity_type = 'seedRedPacket'"); Map<String,Object> sqlResult = jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_"+tag+" where consumer_id ="+consumerId+" and activity_type = 'seedRedPacket'");
......
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