Commit fb694770 authored by 马博's avatar 马博

test

parent bb08ce6e
......@@ -142,7 +142,7 @@ public class 种红包新用户_AccessTest extends DuibaTestBase{
Response response = editManagerInfoService.createUser("种红包新用户","68");
Map<String,Object> user = jdbc.findSimpleResult("select * from dafuweng.user where name = '种红包新用户' and app_id = '68'");
uid = Integer.valueOf(user.get("id").toString());
String url = "http://dafuweng.duibatest.com.cn/user/loginDuiba?uid=" + uid;
String url = "http://dafuweng.dui88.com/user/loginDuiba?uid=" + uid;
Response login = given().get(url);
Map<String,Object> consumer = jdbc.findSimpleResult("select * from new_consumer.consumer_0010 where partner_user_id =? and app_id = '19380'",uid);
consumerId = consumer.get("id").toString();
......
......@@ -449,7 +449,7 @@ public class EditManagerInfoService {
public Response createUser(String name){
String url = "http://dafuweng.duibatest.com.cn" + "/user/create";
String url = "http://dafuweng.dui88.com" + "/user/create";
Map<String,Object> map = new HashMap<>();
map.put("appId","67");
map.put("name",name);
......@@ -464,7 +464,7 @@ public class EditManagerInfoService {
public Response createUser(String name,String appId){
String url = "http://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);
......
......@@ -13,7 +13,7 @@ import static io.restassured.RestAssured.given;
*/
@Service
public class SupplierExchangeTemplateService {
private String dafuwengHost = "dafuweng.duibatest.com.cn";
private String dafuwengHost = "dafuweng.dui88.com";
public Response use(String id){
String url = "http://"+dafuwengHost+"/supplierExchangeTemplate/use";
......
......@@ -10,7 +10,7 @@ import static java.lang.Thread.sleep;
* Created by mabo on 2018/12/17
*/
public class MoblieLogin{
private String dafuwengUrl="http://dafuweng.duibatest.com.cn/user/index";
private String dafuwengUrl="http://dafuweng.dui88.com/user/index";
public MoblieLogin(String uid, DuibaBaseUi father) throws Exception {
open(dafuwengUrl);
father.clickByTextEqual(uid);
......
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