Commit dfab48e5 authored by qwj-github's avatar qwj-github

add

parent 06e40ed4
......@@ -114,16 +114,17 @@ public class 新集卡_插件开奖异常返卡_DuibaTest extends DuibaTestBase
@Test
// @Test
public void 集卡开奖_单接口调试() throws Exception {
//手动开奖——开
String activityId = "2741";
String collectRuleId = "5182";
Integer uid = 6921;
Integer uid = 6922;
String consumerId = "100091476";
String count = "1";
String afterCount = "0";
String prizeLevel = "4";
String prizeLevel = "5";
String afterPrizeLevel = "0";
String clickFlag = "true";
String afterClickFlag = "false";
......@@ -131,7 +132,7 @@ public class 新集卡_插件开奖异常返卡_DuibaTest extends DuibaTestBase
String openResult = "2";
this.playPlugin("3610","5182",6921);
this.playPlugin("3612","5182",6922);
consumerId = "100143586";
Response collectGoodsInfo = newCollectActivityService.getCollectGoodsInfo(collectRuleId,uid);
......@@ -145,8 +146,8 @@ public class 新集卡_插件开奖异常返卡_DuibaTest extends DuibaTestBase
//开奖
Response openPrizeResponse = this.openPrize(collectRuleId,uid,"nomal");
openPrizeResponse.prettyPrint();
// Assert.assertEquals(openPrizeResponse.jsonPath().getString("result"),"1","校验开奖接口失败");
// Assert.assertEquals(openPrizeResponse.jsonPath().getString("lottery.type"),prizeType,"校验开奖类型object失败");
Assert.assertEquals(openPrizeResponse.jsonPath().getString("result"),"1","校验开奖接口失败");
Assert.assertEquals(openPrizeResponse.jsonPath().getString("lottery.type"),prizeType,"校验开奖类型object失败");
logger.info("校验开奖成功,开奖的奖项类型为:"+openPrizeResponse.jsonPath().getString("lottery.type"));
Response afterCollectGoodsInfo = newCollectActivityService.getCollectGoodsInfo(collectRuleId,uid);
afterCollectGoodsInfo.prettyPrint();
......
......@@ -77,6 +77,17 @@ public class pk_押注测试_AccessTest extends DuibaTestBase {
Boolean result2 = jdbc.update("delete from activity_order_con.tb_trade_center_activity_order_0735 where activity_type = 'bet' and duiba_activity_id = '124'\n");
Boolean result3 = jdbc.update("delete from act_record.tb_bet_record where bet_id = '82' and partner_user_id = '5244'\n");
Boolean result6 = jdbc.update("delete from activity_order_con.tb_trade_center_activity_order_0522 where activity_type = 'bet' and duiba_activity_id = '82'\n");
Boolean result4 = jdbc.update("delete from act_record.tb_bet_record where bet_id = '122' and partner_user_id = '5247'\n");
Boolean result7 = jdbc.update("delete from activity_order_con.tb_trade_center_activity_order_0525 where activity_type = 'bet' and duiba_activity_id = '122'\n");
Boolean result5 = jdbc.update("delete from act_record.tb_bet_record where bet_id = '83' and partner_user_id = '5248'\n");
Boolean result8 = jdbc.update("delete from activity_order_con.tb_trade_center_activity_order_0526 where activity_type = 'bet' and duiba_activity_id = '83'\n");
}catch (Exception e){
e.printStackTrace();
}
......
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