更换服务域名

This commit is contained in:
zu
2021-06-16 03:36:17 +08:00
parent 86e5e820b8
commit ff06187fc3
4 changed files with 9 additions and 11 deletions

View File

@@ -141,7 +141,7 @@ android {
release {
// buildConfigField "String", "BASE_URL", "\"https://www.erbanyy.com/\""
buildConfigField "String", "BASE_URL", "\"https://api.zhongjialx.com/\""
buildConfigField "String", "BASE_URL", "\"https://api.lecheng163.com/\""
buildConfigField "String", "BASE_URL_DEBUG", "BASE_URL"
buildConfigField "String", "BASE_URL_STAGING", "BASE_URL"
buildConfigField "String", "BASE_URL_RELEASE", "BASE_URL"
@@ -152,7 +152,7 @@ android {
}
staging {
buildConfigField "String", "BASE_URL", "\"https://api.zhongjialx.com/\""
buildConfigField "String", "BASE_URL", "\"https://api.lecheng163.com/\""
buildConfigField "String", "BASE_URL_DEBUG", "BASE_URL"
buildConfigField "String", "BASE_URL_STAGING", "BASE_URL"
buildConfigField "String", "BASE_URL_RELEASE", "BASE_URL"
@@ -164,12 +164,10 @@ android {
}
debug {
buildConfigField "String", "BASE_URL", "\"http://120.79.211.243/\""
//120.79.211.243 192.168.1.105:8079 192.168.10.5:8082
// buildConfigField "String", "BASE_URL", "\"http://apibeta.qxjiaoyou.com/\""
buildConfigField "String", "BASE_URL", "\"http://api.uat.lecheng163.com/\""
buildConfigField "String", "BASE_URL_DEBUG", "BASE_URL"
buildConfigField "String", "BASE_URL_STAGING", "\"https://api.zhongjialx.com/\""
buildConfigField "String", "BASE_URL_RELEASE", "\"https://api.zhongjialx.com/\""
buildConfigField "String", "BASE_URL_STAGING", "\"https://api.lecheng163.com/\""
buildConfigField "String", "BASE_URL_RELEASE", "\"https://api.lecheng163.com/\""
minifyEnabled false
shrinkResources false

View File

@@ -49,7 +49,7 @@ public class AddUserInfoFragment extends BaseFragment
private int gender = -1;
private XRadioGroup rgGender;
private RadioButton rbMale;
private String avatarUrl = "https://image.zhongjialx.com/yinyou_default_avatar.png";
private String avatarUrl = "https://image.lecheng163.com/yinyou_default_avatar.png";
public static String INVITE_USER_CODE = "";

View File

@@ -276,12 +276,12 @@ public class XChatConstants {
/**
* Referer (DEBUG)
*/
public static final String KEY_REFERER_DEBUG = "http://api.uat.zhongjialx.com/";
public static final String KEY_REFERER_DEBUG = "http://api.uat.lecheng163.com/";
/**
* Referer (RELEASE)
*/
public static final String KEY_REFERER_RELEASE = "https://api.zhongjialx.com/";
public static final String KEY_REFERER_RELEASE = "https://api.lecheng163.com/";
public static int SELECT_ANIM_DURATION = 2500;
// 侧耳