@@ -50,8 +50,8 @@ public class 集卡_单奖项_用户中奖限制测试_DuibaTest extends DuibaTe
...
@@ -50,8 +50,8 @@ public class 集卡_单奖项_用户中奖限制测试_DuibaTest extends DuibaTe
publicvoidclearDb(){
publicvoidclearDb(){
try{
try{
//清除用户参与活动次数(活动id:19127)
//清除用户参与活动次数(活动id:19127)
BooleanclearResult8=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19933'",null);
BooleanclearResult8=jdbc.update("delete from ckvtable.tb_kvtable_0188 where consumer_id = 100176060 and vkey = 'activity-centerjoinNum_100176060_19933'",null);
BooleanclearResult9=jdbc.update("delete from ckvtable.tb_kvtable_0656 where consumer_id = 100026000 and vkey = 'activity-centerjoinNum_100026000_19933'",null);
BooleanclearResult9=jdbc.update("delete from ckvtable.tb_kvtable_0188 where consumer_id = 100176060 and vkey = 'activity-centerjoinNum_100176060_19933'",null);
}catch(Exceptione){
}catch(Exceptione){
e.printStackTrace();
e.printStackTrace();
...
@@ -62,11 +62,11 @@ public class 集卡_单奖项_用户中奖限制测试_DuibaTest extends DuibaTe
...
@@ -62,11 +62,11 @@ public class 集卡_单奖项_用户中奖限制测试_DuibaTest extends DuibaTe
try{
try{
//清除自定义活动-中奖奖品数量信息(12851)
//清除自定义活动-中奖奖品数量信息(12851)
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerwinOptionNum_100025007_19933_hdtool14153'",null);
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0188 where consumer_id = 100176060 and vkey = 'activity-centerwinOptionNum_100176060_19933_hdtool14153'",null);
//清除集卡规则n等级奖项-中奖次数(集卡规则id:9_1)
//清除集卡规则n等级奖项-中奖次数(集卡规则id:9_1)
BooleanclearResult2=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'cl_good_cid_Crule_grade_100025007_243_1'",null);
BooleanclearResult2=jdbc.update("delete from ckvtable.tb_kvtable_0188 where consumer_id = 100176060 and vkey = 'cl_good_cid_Crule_grade_100176060_243_1'",null);
//清除收集的集卡商品数量(集卡商品id:27160)
//清除收集的集卡商品数量(集卡商品id:27160)
BooleanclearResult3=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'cl_good_cid_itemId_100025007_27217'",null);
BooleanclearResult3=jdbc.update("delete from ckvtable.tb_kvtable_0188 where consumer_id = 100176060 and vkey = 'cl_good_cid_itemId_100176060_27217'",null);
}catch(Exceptione){
}catch(Exceptione){
e.printStackTrace();
e.printStackTrace();
}
}
...
@@ -90,12 +90,12 @@ public class 集卡_单奖项_用户中奖限制测试_DuibaTest extends DuibaTe
...
@@ -90,12 +90,12 @@ public class 集卡_单奖项_用户中奖限制测试_DuibaTest extends DuibaTe
maphead.put("User-Agent","Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1");
}else{
maphead.put("User-Agent","Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Mobile Safari/537.36");