feat: M18版本发布最终版本
This commit is contained in:
@@ -7,10 +7,10 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.navinfo.outdoor"
|
applicationId "com.navinfo.outdoor"
|
||||||
minSdkVersion 24
|
minSdkVersion 23
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
versionCode 26
|
versionCode 27
|
||||||
versionName "8.220816"
|
versionName "8.220907"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
lintOptions {
|
lintOptions {
|
||||||
|
|||||||
@@ -523,5 +523,7 @@ public class HomeActivity extends BaseActivity {
|
|||||||
EventBus.getDefault().unregister(this);
|
EventBus.getDefault().unregister(this);
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
PoiDatabase.destroy();
|
PoiDatabase.destroy();
|
||||||
|
// 清空登录信息
|
||||||
|
Constant.clearLoginInfo();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -245,4 +245,25 @@ public class Constant {
|
|||||||
|
|
||||||
public static Set<String> submitIdSet = new HashSet<>();
|
public static Set<String> submitIdSet = new HashSet<>();
|
||||||
public static final String SUBMIT_TOAST_MSG= "当前POI已经在提交列表中,无需重复提交!";
|
public static final String SUBMIT_TOAST_MSG= "当前POI已经在提交列表中,无需重复提交!";
|
||||||
|
|
||||||
|
public static void clearLoginInfo() {
|
||||||
|
ACCESS_TOKEN = null;
|
||||||
|
REFRESH_TOKEN = null;
|
||||||
|
USHERED = null;
|
||||||
|
USER_NAME = null;//登录账号/修改账号/注册
|
||||||
|
PASS_WORD = null;//登录密码/修改密码/注册密码
|
||||||
|
AUDITING = null;//身份证审核信息
|
||||||
|
AUDIOTAPES = -1;//身份证审核状态 //0:不通過,1:通過,-1:待审核
|
||||||
|
ID_NUM = null;//身份证号
|
||||||
|
NAME = null;//身份证姓名
|
||||||
|
ID_NUMBER = null;//身份证号
|
||||||
|
BACKGROUND = null;//银行卡号
|
||||||
|
BACKGROUND_NAME = null;//银行卡名称
|
||||||
|
SEX = -1;//性别
|
||||||
|
QQ = null;
|
||||||
|
WCHAR = null;
|
||||||
|
MOBILE = null;//手机号
|
||||||
|
FILE_PATH = null;//银行卡图片途径
|
||||||
|
LEVEL = 0;//用户等级
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -312,7 +312,7 @@ public class GatheringFragment extends BaseFragment implements View.OnClickListe
|
|||||||
} else if (response.getCode() == 230) {
|
} else if (response.getCode() == 230) {
|
||||||
FlushTokenUtil.flushToken(getActivity());
|
FlushTokenUtil.flushToken(getActivity());
|
||||||
} else {
|
} else {
|
||||||
ToastUtils.Message(getActivity(), "绑定失败!");
|
ToastUtils.Message(getActivity(), response.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
package com.navinfo.outdoor.http;
|
package com.navinfo.outdoor.http;
|
||||||
|
|
||||||
public class HttpInterface {
|
public class HttpInterface {
|
||||||
public static final String IP = "http://172.23.138.133:9999/m4";//测试接口
|
public static final String IP1 = "http://172.23.138.133:9999/m4";//测试接口
|
||||||
public static final String IP2 = "http://dtxbmaps.navinfo.com/dtxb/dev/m4";//测试接口-外网
|
public static final String IP2 = "http://dtxbmaps.navinfo.com/dtxb/dev/m4";//测试接口-外网
|
||||||
public static final String IP1 = "http://dtxbmaps.navinfo.com/dtxb/m4";//正式接口
|
public static final String IP = "http://dtxbmaps.navinfo.com/dtxb/m4";//正式接口
|
||||||
public static final String USER_PATH = "/user/";//我的
|
public static final String USER_PATH = "/user/";//我的
|
||||||
public static final String MSG_LIST_PATH = "/msgList/";//发现
|
public static final String MSG_LIST_PATH = "/msgList/";//发现
|
||||||
public static final String USER_LOGIN_PATH = "/userlogin/";//登录
|
public static final String USER_LOGIN_PATH = "/userlogin/";//登录
|
||||||
|
|||||||
Reference in New Issue
Block a user