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
669577ee
Commit
669577ee
authored
Jul 05, 2021
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复跳过逻辑
parent
3ad3f065
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
config.gradle
config.gradle
+1
-1
CmsExamQuestionPaperActivity.kt
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
+3
-3
No files found.
config.gradle
View file @
669577ee
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.37"
,
"m-home"
:
"0.0.22.65"
,
"m-im"
:
"0.0.19.2
6
"
,
"m-im"
:
"0.0.19.2
7
"
,
"m-dynamic"
:
"0.0.7.22"
,
"m-article"
:
"0.0.0.10"
,
...
...
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
View file @
669577ee
...
...
@@ -102,7 +102,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
override
fun
initDataAndEvent
()
{
if
(
isJumpToIm
())
{
//如果今天
打
过题,跳转到聊天界面
//如果今天
答
过题,跳转到聊天界面
skipToIm
()
return
}
...
...
@@ -666,7 +666,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
val
skipTime
=
SharedPreferencesEditor
.
getString
(
"skip_time_"
)
if
(
skipTime
==
null
||
skipTime
.
isEmpty
())
{
return
fals
e
return
tru
e
}
val
timeDifference
=
(
time
-
skipTime
.
toLong
())
/
1000
val
second
=
1000
...
...
@@ -674,7 +674,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
val
hour
=
minute
*
60
val
day
=
hour
*
24
return
timeDifference
>
skip_time
return
timeDifference
<
skip_time
}
/**
...
...
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