Commit ec60fb8a by luyt

feat:调整离开进入时间为string类型

1 parent ab88e178
......@@ -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?',
......
'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),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!