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
20a12d5e
Commit
20a12d5e
authored
Apr 23, 2015
by
陈志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
访问 log 模型修改
parent
9d0e06bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
forumPVLog.js
app/models/forumPVLog.js
+3
-2
forumUVLog.js
app/models/forumUVLog.js
+3
-2
No files found.
app/models/forumPVLog.js
View file @
20a12d5e
...
@@ -45,8 +45,9 @@ var ForumPVLogSchema = new Schema({
...
@@ -45,8 +45,9 @@ var ForumPVLogSchema = new Schema({
index
:
true
index
:
true
},
},
p_thread
:
{
//父文章ID
p_thread
:
{
//父文章ID
type
:
Number
,
type
:
String
,
index
:
true
index
:
true
,
ref
:
'forumThread'
},
},
source
:
{
//分享者
source
:
{
//分享者
type
:
String
,
type
:
String
,
...
...
app/models/forumUVLog.js
View file @
20a12d5e
...
@@ -45,8 +45,9 @@ var ForumUVLogSchema = new Schema({
...
@@ -45,8 +45,9 @@ var ForumUVLogSchema = new Schema({
index
:
true
index
:
true
},
},
p_thread
:
{
//父文章ID
p_thread
:
{
//父文章ID
type
:
Number
,
type
:
String
,
index
:
true
index
:
true
,
ref
:
'forumThread'
},
},
source
:
{
//分享者
source
:
{
//分享者
type
:
String
,
type
:
String
,
...
...
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