Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_goodmoney
Commits
2fb22803
Commit
2fb22803
authored
Dec 12, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
90bc0128
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
0 deletions
+13
-0
xrsdk-release_tbs.aar
GoodMoney/app/libs/xrsdk-release_tbs.aar
+0
-0
HomePresenter.kt
.../java/com/mints/goodmoney/mvp/presenters/HomePresenter.kt
+1
-0
AccountMergeActivity.kt
.../com/mints/goodmoney/ui/activitys/AccountMergeActivity.kt
+3
-0
MobileLoginActivity.kt
...a/com/mints/goodmoney/ui/activitys/MobileLoginActivity.kt
+3
-0
WxLoginActivity.kt
.../java/com/mints/goodmoney/ui/activitys/WxLoginActivity.kt
+3
-0
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+3
-0
No files found.
GoodMoney/app/libs/xrsdk-release_tbs.aar
View file @
2fb22803
No preview for this file type
GoodMoney/app/src/main/java/com/mints/goodmoney/mvp/presenters/HomePresenter.kt
View file @
2fb22803
...
@@ -5,6 +5,7 @@ import com.mints.goodmoney.MintsApplication
...
@@ -5,6 +5,7 @@ import com.mints.goodmoney.MintsApplication
import
com.mints.goodmoney.common.Constant
import
com.mints.goodmoney.common.Constant
import
com.mints.goodmoney.common.DeviceInfo
import
com.mints.goodmoney.common.DeviceInfo
import
com.mints.goodmoney.manager.AppHttpManager
import
com.mints.goodmoney.manager.AppHttpManager
import
com.mints.goodmoney.manager.SceneManager
import
com.mints.goodmoney.manager.ShumeiManager
import
com.mints.goodmoney.manager.ShumeiManager
import
com.mints.goodmoney.manager.UserManager
import
com.mints.goodmoney.manager.UserManager
import
com.mints.goodmoney.mvp.model.BaseResponse
import
com.mints.goodmoney.mvp.model.BaseResponse
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/AccountMergeActivity.kt
View file @
2fb22803
...
@@ -4,6 +4,7 @@ import android.os.Bundle
...
@@ -4,6 +4,7 @@ import android.os.Bundle
import
android.view.View
import
android.view.View
import
com.mints.goodmoney.R
import
com.mints.goodmoney.R
import
com.mints.goodmoney.common.Constant
import
com.mints.goodmoney.common.Constant
import
com.mints.goodmoney.manager.SceneManager
import
com.mints.goodmoney.mvp.model.AccountMsgBean
import
com.mints.goodmoney.mvp.model.AccountMsgBean
import
com.mints.goodmoney.mvp.presenters.AccountMergePresenter
import
com.mints.goodmoney.mvp.presenters.AccountMergePresenter
import
com.mints.goodmoney.mvp.views.AccountMergeView
import
com.mints.goodmoney.mvp.views.AccountMergeView
...
@@ -140,6 +141,8 @@ class AccountMergeActivity : BaseActivity(), View.OnClickListener, AccountMergeV
...
@@ -140,6 +141,8 @@ class AccountMergeActivity : BaseActivity(), View.OnClickListener, AccountMergeV
override
fun
toKeepAccountSuc
()
{
override
fun
toKeepAccountSuc
()
{
showToast
(
"账号合并成功!"
)
showToast
(
"账号合并成功!"
)
SceneManager
.
signIn
(
this
)
readyGoThenKill
(
MainActivity
::
class
.
java
)
readyGoThenKill
(
MainActivity
::
class
.
java
)
}
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/MobileLoginActivity.kt
View file @
2fb22803
...
@@ -4,6 +4,7 @@ import android.Manifest
...
@@ -4,6 +4,7 @@ import android.Manifest
import
android.text.TextUtils
import
android.text.TextUtils
import
android.view.View
import
android.view.View
import
com.mints.goodmoney.R
import
com.mints.goodmoney.R
import
com.mints.goodmoney.manager.SceneManager
import
com.mints.goodmoney.manager.UserManager
import
com.mints.goodmoney.manager.UserManager
import
com.mints.goodmoney.manager.YwhzManager
import
com.mints.goodmoney.manager.YwhzManager
import
com.mints.goodmoney.mvp.presenters.LoginPresenter
import
com.mints.goodmoney.mvp.presenters.LoginPresenter
...
@@ -98,6 +99,8 @@ class MobileLoginActivity : BaseActivity()
...
@@ -98,6 +99,8 @@ class MobileLoginActivity : BaseActivity()
}
catch
(
e
:
Exception
)
{
}
catch
(
e
:
Exception
)
{
}
}
SceneManager
.
signIn
(
this
)
// false-登录 true-绑定手机号
// false-登录 true-绑定手机号
showToast
(
"登录成功"
)
showToast
(
"登录成功"
)
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/WxLoginActivity.kt
View file @
2fb22803
...
@@ -14,6 +14,7 @@ import com.mints.goodmoney.R
...
@@ -14,6 +14,7 @@ import com.mints.goodmoney.R
import
com.mints.goodmoney.common.Constant
import
com.mints.goodmoney.common.Constant
import
com.mints.goodmoney.login.LoginApi
import
com.mints.goodmoney.login.LoginApi
import
com.mints.goodmoney.login.OnLoginListener
import
com.mints.goodmoney.login.OnLoginListener
import
com.mints.goodmoney.manager.SceneManager
import
com.mints.goodmoney.manager.YwhzManager
import
com.mints.goodmoney.manager.YwhzManager
import
com.mints.goodmoney.mvp.model.WXInfo
import
com.mints.goodmoney.mvp.model.WXInfo
import
com.mints.goodmoney.mvp.presenters.LoginPresenter
import
com.mints.goodmoney.mvp.presenters.LoginPresenter
...
@@ -119,6 +120,8 @@ class WxLoginActivity : BaseActivity()
...
@@ -119,6 +120,8 @@ class WxLoginActivity : BaseActivity()
}
catch
(
e
:
Exception
)
{
}
catch
(
e
:
Exception
)
{
}
}
SceneManager
.
signIn
(
this
)
showToast
(
"登录成功"
)
showToast
(
"登录成功"
)
progressDialog
?.
dismiss
()
progressDialog
?.
dismiss
()
if
(
TextUtils
.
equals
(
channel
,
Constant
.
CHANNEL_SHARE
))
{
if
(
TextUtils
.
equals
(
channel
,
Constant
.
CHANNEL_SHARE
))
{
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
2fb22803
...
@@ -200,6 +200,8 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
...
@@ -200,6 +200,8 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
}
}
override
fun
userLoginSuc
()
{
override
fun
userLoginSuc
()
{
SceneManager
.
signIn
(
requireActivity
())
myPresenter
.
getAutoUserHallBaseMsg
()
myPresenter
.
getAutoUserHallBaseMsg
()
myPresenter
.
getHallBaseMsg
()
myPresenter
.
getHallBaseMsg
()
}
}
...
@@ -897,6 +899,7 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
...
@@ -897,6 +899,7 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
// 聚乐云初始化
// 聚乐云初始化
SceneManager
.
initScene
()
SceneManager
.
initScene
()
SceneManager
.
signIn
(
requireActivity
())
}
}
private
fun
initView
()
{
private
fun
initView
()
{
...
...
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