Commit 0887fada authored by 马博's avatar 马博

dafuwen域名变化

parent 45ee2396
......@@ -147,7 +147,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.dui88.com/user/loginDuiba?uid=" + uid;
String url = "http://autotest-dafuweng.duibatest.com.cn/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.dui88.com" + "/user/create";
String url = "http://autotest-dafuweng.duibatest.com.cn" + "/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.dui88.com" + "/user/create";
String url = "http://autotest-dafuweng.duibatest.com.cn" + "/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.dui88.com";
private String dafuwengHost = "autotest-dafuweng.duibatest.com.cn";
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.dui88.com/user/index";
private String dafuwengUrl="http://autotest-dafuweng.duibatest.com.cn/user/index";
public MoblieLogin(String uid, DuibaBaseUi father) throws Exception {
open(dafuwengUrl);
father.clickByTextEqual(uid);
......
......@@ -4,7 +4,7 @@ proxyserver.ip=172.16.80.203
proxyserver.port=22
proxyserver.user=dev
proxyserver.prvkey=key/hzlId_rsa
dafuweng.host=dafuweng.dui88.com
dafuweng.host=autotest-dafuweng.duibatest.com.cn
dafuweng.port=80
uid=2707
appId=2239
......
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