Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
陆宇天
/
tracking-backend
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ec60fb8a
authored
Jun 27, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:调整离开进入时间为string类型
1 parent
ab88e178
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
app/controller/track.js
app/model/track.js
app/controller/track.js
View file @
ec60fb8
...
...
@@ -31,8 +31,8 @@ class TrackController extends Controller {
token
:
'string?'
,
pageUrl
:
'string?'
,
pageName
:
'string?'
,
intoTime
:
'
dateTime
?'
,
leaveTime
:
'
dateTime
?'
,
intoTime
:
'
string
?'
,
leaveTime
:
'
string
?'
,
},
},
// merchant_name: 'number?',
...
...
app/model/track.js
View file @
ec60fb8
'use strict'
;
module
.
exports
=
app
=>
{
const
{
INTEGER
,
STRING
,
BOOLEAN
,
DATE
}
=
app
.
Sequelize
;
const
{
INTEGER
,
STRING
,
BOOLEAN
}
=
app
.
Sequelize
;
const
Track
=
app
.
model
.
define
(
'info'
,
{
id
:
{
...
...
@@ -27,8 +27,8 @@ module.exports = app => {
token
:
STRING
(
100
),
pageUrl
:
STRING
(
100
),
pageName
:
STRING
(
100
),
intoTime
:
DATE
,
leaveTime
:
DATE
,
intoTime
:
STRING
(
100
)
,
leaveTime
:
STRING
(
100
)
,
// info: STRING(255),
// // 公共模块
// merchant_name: STRING(10),
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment