Commit d75b3f1c by youguoqing

甲方外网地址禁用,改走内网

parent a5d56b9f
...@@ -12,8 +12,8 @@ android { ...@@ -12,8 +12,8 @@ android {
applicationId "com.stm.asset" applicationId "com.stm.asset"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 28 targetSdkVersion 28
versionCode 1 versionCode 2
versionName "1.1" versionName "1.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true multiDexEnabled true
} }
......
...@@ -2,7 +2,7 @@ package com.stm.asset.base; ...@@ -2,7 +2,7 @@ package com.stm.asset.base;
public class ConfigKey { public class ConfigKey {
public final static String GATEWAYIP = "mfms.citictrust.com.cn"; public final static String GATEWAYIP = "fms.citictrust.com.cn";
public final static String GATWAYPORT = ""; public final static String GATWAYPORT = "";
// http://10.50.251.101 8848 测试地址 // http://10.50.251.101 8848 测试地址
// https://mfms.citictrust.com.cn 生产地址 // https://mfms.citictrust.com.cn 生产地址
......
...@@ -2,13 +2,19 @@ package com.stm.asset.base; ...@@ -2,13 +2,19 @@ package com.stm.asset.base;
public class InterfaceKey { public class InterfaceKey {
private final static String GETWAY = "GATEWAY/"; // private final static String GETWAY = "GATEWAY/";
//
// public final static String UNIONLOGINAPP = GETWAY + "app/login"; // 登录
// public final static String QURYPAGEHOMEUSERINFO = GETWAY + "app/quryPageHomeUserInfo"; // 获取用户信息
// public final static String SCANINVENTORY = GETWAY + "app/ams/scanInventory"; // 上传资产编号
public final static String UNIONLOGINAPP = GETWAY + "app/login"; // 登录 private final static String GETWAY = "FMP/";
public final static String QURYPAGEHOMEUSERINFO = GETWAY + "app/quryPageHomeUserInfo"; // 获取用户信息
public final static String QUERYVERSIONAPP = GETWAY + "queryAppVersionApp"; // 查询版本号 public final static String UNIONLOGINAPP = GETWAY + "login"; // 登录
public final static String SCANINVENTORY = GETWAY + "app/ams/scanInventory"; // 上传资产编号 public final static String QURYPAGEHOMEUSERINFO = GETWAY + "quryPageHomeUserInfo"; // 获取用户信息
public final static String SCANINVENTORY = GETWAY + "ams/scanInventory"; // 上传资产编号
public final static String QUERYVERSIONAPP = GETWAY + "queryAppVersionApp"; // 查询版本号
......
...@@ -197,7 +197,7 @@ public class HttpUtil { ...@@ -197,7 +197,7 @@ public class HttpUtil {
} }
sbd.append("/"); sbd.append("/");
sbd.append(interfaceName); sbd.append(interfaceName);
sbd.append(".app"); sbd.append(".ajax");
return sbd.toString(); return sbd.toString();
} }
......
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