Commit d39235ba authored by 龚小红's avatar 龚小红

修改抽奖码数量校验、修复转盘抽奖的不能中奖的类型包含:1、2、4

parent 057d0809
...@@ -588,7 +588,7 @@ public class GameLottery implements Authorization { ...@@ -588,7 +588,7 @@ public class GameLottery implements Authorization {
int state = response.jsonPath().getInt("data.state"); int state = response.jsonPath().getInt("data.state");
int prizeType = response.jsonPath().getInt("data.prizeType"); int prizeType = response.jsonPath().getInt("data.prizeType");
Assert.assertTrue(state==2,network.message(params,LOTTERRY_getOrderStatus,"订单出奖状态错误",response.body().asString())); Assert.assertTrue(state==2,network.message(params,LOTTERRY_getOrderStatus,"订单出奖状态错误",response.body().asString()));
Assert.assertTrue(prizeType==1 || prizeType==2,network.message(params,LOTTERRY_getOrderStatus,"抽奖结果错误",response.body().asString())); Assert.assertTrue(prizeType==1 || prizeType==2|| prizeType==4,network.message(params,LOTTERRY_getOrderStatus,"抽奖结果错误",response.body().asString()));
} }
@Test(description="代理人_查询发起抽奖列表",priority = 22) @Test(description="代理人_查询发起抽奖列表",priority = 22)
......
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