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
2527110d
Commit
2527110d
authored
Jan 23, 2021
by
李增强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
m
parent
5bec8fd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
lib/qm_tj.dart
lib/qm_tj.dart
+8
-8
No files found.
lib/qm_tj.dart
View file @
2527110d
...
...
@@ -28,7 +28,7 @@ class QMTJ {
int
disappearTime
=
0
;
int
appearTime
=
_getDateNow
();
String
id
=
_appStartUpId
;
Map
<
String
,
dynamic
>
map
=
{
Map
map
=
{
"id"
:
id
,
"type"
:
type
,
"source"
:
source
,
...
...
@@ -49,7 +49,7 @@ class QMTJ {
int
disappearTime
=
0
;
int
appearTime
=
_getDateNow
();
String
id
=
_appStartUpId
;
Map
<
String
,
dynamic
>
map
=
{
Map
map
=
{
"id"
:
id
,
"type"
:
type
,
"source"
:
source
,
...
...
@@ -66,7 +66,7 @@ class QMTJ {
int
disappearTime
=
_getDateNow
();
_db
.
db
.
update
(
"app_tj"
,
{
"disappear_time"
:
disappearTime
},
where:
"id = ? and disappear_time = 0"
,
whereArgs:
[
_appStartUpId
]);
Map
<
String
,
dynamic
>
map
=
{
Map
map
=
{
"id"
:
_appStartUpId
,
"disappear_time"
:
disappearTime
,
};
...
...
@@ -83,7 +83,7 @@ class QMTJ {
String
id
=
_md5
(
"
${pageId}
_
${lastPageId}
_
$extrasStr
"
);
int
disappearTime
=
0
;
int
appearTime
=
_getDateNow
();
Map
<
String
,
dynamic
>
map
=
{
Map
map
=
{
"id"
:
id
,
"source"
:
source
,
"page_id"
:
pageId
,
...
...
@@ -109,7 +109,7 @@ class QMTJ {
},
where:
"id = ? and disappear_time = 0"
,
whereArgs:
[
id
]);
Map
<
String
,
dynamic
>
map
=
{
Map
map
=
{
"id"
:
id
,
"page_id"
:
pageId
,
"last_page_id"
:
lastPageId
,
...
...
@@ -131,7 +131,7 @@ class QMTJ {
int
clickTime
=
_getDateNow
();
String
extrasStr
=
json
.
encode
(
extras
);
String
id
=
_md5
(
"
${pageId}
_
${clickId}
_
${extrasStr}
_
${clickTime}
"
);
Map
<
String
,
dynamic
>
map
=
{
Map
map
=
{
"id"
:
id
,
"source"
:
source
,
"page_id"
:
pageId
,
...
...
@@ -155,7 +155,7 @@ class QMTJ {
int
exposureTime
=
_getDateNow
();
String
extrasStr
=
json
.
encode
(
extras
);
String
id
=
_md5
(
"
${pageId}
_
${exposureId}
_
${extrasStr}
_
${exposureTime}
"
);
Map
<
String
,
dynamic
>
map
=
{
Map
map
=
{
"id"
:
id
,
"source"
:
source
,
"page_id"
:
pageId
,
...
...
@@ -180,7 +180,7 @@ class QMTJ {
return
digest
.
toString
();
}
static
void
log
(
String
type
,
Map
<
String
,
dynamic
>
map
)
{
static
void
log
(
String
type
,
Map
map
)
{
if
(!
isDebug
)
{
return
;
}
...
...
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