Commit a430c5df authored by 赵然's avatar 赵然

zr

parent 755a736d
......@@ -243,7 +243,7 @@ public class 新集卡_助力发集卡_DuibaTest extends DuibaTestBase {
Map<String,String> map = new HashMap<>();
Response response = editManagerInfoService.createUser("新用户助力",appId);
Map<String,Object> user = jdbc.findSimpleResult("select * from dafuweng.user where name = '新用户助力' and app_id = ?\n",appId);
Map<String,Object> user = jdbc.findSimpleResult("select * from dafuweng.user where name = '新用户助力' and app_id = ?",appId);
String uid = user.get("id").toString();
String url = GetCookieUtil.genUrl(uid,"2wGQc3MZaQsqYFWcX4gguya5PnnS");
JSONObject cookie = GetCookieUtil.getConsumerIdFromCookie(url);
......
......@@ -131,6 +131,7 @@ public class 秒杀商品_自有新优惠券_兑换限制_SeckillTest extends Du
}
Thread.sleep(1000);
Response resultres= seckillNewService.payResult(orderId,uid);
resultres.prettyPrint();
String failedReason = resultres.jsonPath().getString("data.failedReason");
String result = resultres.jsonPath().getString("data.result");
......
......@@ -464,7 +464,7 @@ public class EditManagerInfoService {
public Response createUser(String name,String appId){
String url = "http://autotest-dafuweng.duibatest.com.cn" + "/user/create";
String url = "http://dafuweng.dui88.com" + "/user/create";
Map<String,Object> map = new HashMap<>();
map.put("appId",appId);
map.put("name",name);
......
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