Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
QM_TJ
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
QM_TJ
Commits
d11e34dd
Commit
d11e34dd
authored
Jan 25, 2021
by
李增强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
m
parent
edb5f3db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/src/tj/app.dart
lib/src/tj/app.dart
+5
-5
No files found.
lib/src/tj/app.dart
View file @
d11e34dd
...
...
@@ -14,6 +14,11 @@ class App {
/// APP回到前台
void
onResume
({
Map
<
String
,
dynamic
>
extras
})
async
{
int
type
=
2
;
// APP 启动生成本次启动ID
if
(
_appStartUpId
==
null
)
{
type
=
1
;
_appStartUpId
=
Utils
.
md5
(
Utils
.
getDateNow
().
toString
());
}
int
disappearTime
=
0
;
int
appearTime
=
Utils
.
getDateNow
();
Map
<
String
,
dynamic
>
map
=
{
...
...
@@ -26,11 +31,6 @@ class App {
Map
<
String
,
dynamic
>
common
=
await
Utils
.
getCommonParams
();
map
.
addAll
(
common
);
// APP 启动生成本次启动ID
if
(
_appStartUpId
==
null
)
{
type
=
1
;
_appStartUpId
=
Utils
.
md5
(
Utils
.
getDateNow
().
toString
());
}
await
_db
.
ready
;
Utils
.
log
(
"app onResume"
,
map
);
await
_db
.
db
.
insert
(
"app_tj"
,
map
);
...
...
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