Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pisns-forum-api
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scrmGroup
pisns-forum-api
Commits
de322748
Commit
de322748
authored
Mar 17, 2016
by
刘文胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台帖子增加定时发送功能
parent
fae3e0c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
forumThread.js
app/models/forumThread.js
+5
-1
No files found.
app/models/forumThread.js
View file @
de322748
...
...
@@ -140,7 +140,7 @@ var ForumThreadSchema = new Schema({
type
:
Schema
.
Types
.
ObjectId
,
ref
:
'ForumUser'
}],
isEvent
:{
//是否活动
0否 1是
isEvent
:{
//是否活动
改为0立即发布,1活动,2定时发布(到了发布时间才在手机端显示) by lws 20160317
type
:
Number
,
require
:
true
,
default
:
0
...
...
@@ -155,6 +155,10 @@ var ForumThreadSchema = new Schema({
required
:
false
}
},
release_time
:{
//发布时间,如果isEvent为2就是定时发布,需要发布时间
type
:
Date
,
required
:
false
},
created
:
{
type
:
Date
,
required
:
true
,
...
...
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