Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjh5
Project
Project
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
data_server
gjjh5
Commits
25052f72
Commit
25052f72
authored
Feb 27, 2019
by
姜登
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gjj
parent
84cae192
Pipeline
#3920
passed with stage
in 2 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
cusdata.js
app/model/cusdata.js
+0
-2
config.default.js
config/config.default.js
+1
-1
No files found.
app/model/cusdata.js
View file @
25052f72
...
@@ -62,13 +62,11 @@ module.exports = app => {
...
@@ -62,13 +62,11 @@ module.exports = app => {
date1
:
{
date1
:
{
type
:
DataTypes
.
DATE
,
type
:
DataTypes
.
DATE
,
allowNull
:
true
,
allowNull
:
true
,
defaultValue
:
app
.
Sequelize
.
literal
(
'CURRENT_TIMESTAMP'
),
field
:
'date1'
,
field
:
'date1'
,
},
},
date2
:
{
date2
:
{
type
:
DataTypes
.
DATE
,
type
:
DataTypes
.
DATE
,
allowNull
:
true
,
allowNull
:
true
,
defaultValue
:
app
.
Sequelize
.
literal
(
'CURRENT_TIMESTAMP'
),
field
:
'date2'
,
field
:
'date2'
,
},
},
},
},
...
...
config/config.default.js
View file @
25052f72
...
@@ -12,7 +12,7 @@ module.exports = appInfo => {
...
@@ -12,7 +12,7 @@ module.exports = appInfo => {
config
.
middleware
=
[
'requestLog'
,
'errorHandler'
];
config
.
middleware
=
[
'requestLog'
,
'errorHandler'
];
config
.
logrotator
=
{
config
.
logrotator
=
{
maxDays
:
1
,
maxDays
:
5
,
}
}
// config.verifyAppKey = {
// config.verifyAppKey = {
...
...
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