Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fastdevelop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高超
fastdevelop
Commits
87ff79a3
Commit
87ff79a3
authored
Nov 07, 2019
by
gao.chao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去无效代码
parent
b9cbc9ba
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
43 deletions
+0
-43
app/src/main/java/com/mayi/demo/MyApplication.java
+0
-2
fastDevelop/src/main/java/com/mayi/fastdevelop/api/UserAPI.java
+0
-18
fastDevelop/src/main/java/com/mayi/fastdevelop/comnon/Configure.java
+0
-9
fastDevelop/src/main/java/com/mayi/fastdevelop/comnon/HttpUrl.java
+0
-10
fastDevelop/src/main/java/com/mayi/fastdevelop/comnon/Key.java
+0
-4
No files found.
app/src/main/java/com/mayi/demo/MyApplication.java
View file @
87ff79a3
...
@@ -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
);
}
}
...
...
fastDevelop/src/main/java/com/mayi/fastdevelop/api/UserAPI.java
deleted
100644 → 0
View file @
b9cbc9ba
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
();
}
}
fastDevelop/src/main/java/com/mayi/fastdevelop/comnon/Configure.java
deleted
100644 → 0
View file @
b9cbc9ba
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
;
//登录页-密码框不显示密码图片
}
fastDevelop/src/main/java/com/mayi/fastdevelop/comnon/HttpUrl.java
deleted
100644 → 0
View file @
b9cbc9ba
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"
;
}
fastDevelop/src/main/java/com/mayi/fastdevelop/comnon/Key.java
View file @
87ff79a3
...
@@ -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"
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment