Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
2af5a191
Commit
2af5a191
authored
Aug 10, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 格式化代码,取消第一次请求拦截
parent
904e75bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
MineFragment.kt
m-user/src/main/java/com/yidianling/user/mine/MineFragment.kt
+1
-6
MineHttp.kt
m-user/src/main/java/com/yidianling/user/mine/http/MineHttp.kt
+9
-4
No files found.
m-user/src/main/java/com/yidianling/user/mine/MineFragment.kt
View file @
2af5a191
...
...
@@ -70,7 +70,6 @@ class MineFragment : BaseFragment(), SwipeRefreshLayout.OnRefreshListener, View.
private
var
mShareDialog
:
YDLShareDialog
?
=
null
private
var
startTime
:
Long
=
0
private
var
endTime
:
Long
=
0
private
var
isSecondTime
:
Boolean
=
false
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
user_mine_fragment_mine
}
...
...
@@ -149,10 +148,7 @@ class MineFragment : BaseFragment(), SwipeRefreshLayout.OnRefreshListener, View.
override
fun
onResume
()
{
super
.
onResume
()
updateUI
()
if
(
isSecondTime
)
{
isSecondTime
=
false
refreshCouponData
()
}
refreshCouponData
()
}
override
fun
setUserVisibleHint
(
isVisibleToUser
:
Boolean
)
{
...
...
@@ -174,7 +170,6 @@ class MineFragment : BaseFragment(), SwipeRefreshLayout.OnRefreshListener, View.
override
fun
onPause
()
{
super
.
onPause
()
isSecondTime
=
true
if
(
startTime
!=
0L
)
{
endTime
=
System
.
currentTimeMillis
()
count
(
UserMyPageEvent
.
YDL_USER_MY_PAGE_STAY_VISIT
,
(
endTime
-
startTime
).
toString
())
...
...
m-user/src/main/java/com/yidianling/user/mine/http/MineHttp.kt
View file @
2af5a191
...
...
@@ -5,12 +5,15 @@ import com.ydl.ydlcommon.data.http.BaseAPIResponse
import
com.ydl.ydlcommon.data.http.BaseCommand
import
com.ydl.ydlcommon.data.http.BaseResponse
import
com.yidianling.im.message.param.MsgListParam
import
com.yidianling.user.bean.FundData
import
com.yidianling.user.bean.Recharge
import
com.yidianling.user.api.bean.UserResponseBean
import
com.yidianling.user.bean.EffectivityBean
import
com.yidianling.user.bean.EvaluateOrderBean
import
com.yidianling.user.mine.*
import
com.yidianling.user.bean.FundData
import
com.yidianling.user.bean.Recharge
import
com.yidianling.user.mine.APPWillUpParam
import
com.yidianling.user.mine.FeedBackParam
import
com.yidianling.user.mine.FundListParam
import
com.yidianling.user.mine.RechargeParam
import
com.yidianling.user.mine.bean.AccountBean
import
com.yidianling.user.mine.bean.BalanceBean
import
com.yidianling.user.mine.bean.CouponNumBean
...
...
@@ -50,6 +53,7 @@ interface MineHttp {
fun
getSysMsgList
(
param
:
MsgListParam
):
Observable
<
BaseResponse
<
String
>>
fun
getHasConfideOrder
(
uid
:
String
):
Observable
<
BaseAPIResponse
<
EvaluateOrderBean
>>
//获取测评vip数据
fun
effectivity
():
Observable
<
BaseAPIResponse
<
MutableList
<
EffectivityBean
>>>
fun
effectivity
():
Observable
<
BaseAPIResponse
<
MutableList
<
EffectivityBean
>>>
}
\ No newline at end of file
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