Commit 87ff79a3 by gao.chao

去无效代码

parent b9cbc9ba
...@@ -5,7 +5,6 @@ import android.app.Application; ...@@ -5,7 +5,6 @@ import android.app.Application;
import com.gc.call.CallManage; import com.gc.call.CallManage;
import com.gc.call.CallParticipationBean; import com.gc.call.CallParticipationBean;
import com.mayi.fastdevelop.base.BaseApplication; import com.mayi.fastdevelop.base.BaseApplication;
import com.mayi.fastdevelop.comnon.Configure;
import com.mayi.fastdevelop.comnon.CrashHandler; import com.mayi.fastdevelop.comnon.CrashHandler;
import com.mayi.fastdevelop.map.GoMapLocationCallTarget; import com.mayi.fastdevelop.map.GoMapLocationCallTarget;
import com.mayi.fastdevelop.map.LocationCallTarget; import com.mayi.fastdevelop.map.LocationCallTarget;
...@@ -24,7 +23,6 @@ public class MyApplication extends BaseApplication { ...@@ -24,7 +23,6 @@ public class MyApplication extends BaseApplication {
CallParticipationBean bean = new CallParticipationBean("web_initWeb"); CallParticipationBean bean = new CallParticipationBean("web_initWeb");
CallManage.getInstance().handleTarget(bean); CallManage.getInstance().handleTarget(bean);
initBugly("cb8018da1b", true); initBugly("cb8018da1b", true);
Configure.APP_LOGO = R.mipmap.ic_launcher;
CrashHandler.getInstance().init(this); CrashHandler.getInstance().init(this);
} }
......
package com.mayi.fastdevelop.api;
import com.mayi.fastdevelop.bean.UserInfo;
import com.mayi.fastdevelop.comnon.HttpUrl;
import com.mayi.fastdevelop.okhttp.NetWorkBuilder;
import com.mayi.fastdevelop.okhttp.ResultCallback;
public class UserAPI {
public static void login(String mobile, String password, ResultCallback<UserInfo> callback) {
new NetWorkBuilder().setUrl(HttpUrl.URL_LOGIN)
.addParam("mobile", mobile)
.addParam("password", password)
.setCallback(callback)
.execute();
}
}
package com.mayi.fastdevelop.comnon;
public class Configure {
public static int APP_LOGO;//app logo图片资源id
public static int ICON_LOGIN_PWD_OPEN_EYES;//登录页-密码框显示密码图片
public static int ICON_LOGIN_PWD_CLOSE_EYES;//登录页-密码框不显示密码图片
}
package com.mayi.fastdevelop.comnon;
public class HttpUrl {
public static String URL_BASE_URL="https://customer.kujiatech.com";
/* 登录 */
public static String URL_LOGIN = URL_BASE_URL + "/user/appLogin.do";
}
...@@ -12,8 +12,4 @@ public class Key { ...@@ -12,8 +12,4 @@ public class Key {
/*是否首次登录*/ /*是否首次登录*/
public static final String FIRST_LOGIN = "first_login"; public static final String FIRST_LOGIN = "first_login";
/* 用户信息 */
public static final String S_USER_INFO = "s_userinfo";
public static final String ACCOUNT = "account";
public static final String S_PASSWORD = "s_password";
} }
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