Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
card
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
zhanglu
card
Commits
620bbe6a
Commit
620bbe6a
authored
Dec 15, 2020
by
zhanglu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 日记本增加帖子数
parent
7c2d7e32
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
schemas.py
card/views/diary/schemas.py
+1
-0
No files found.
card/views/diary/schemas.py
View file @
620bbe6a
...
@@ -45,6 +45,7 @@ class DiaryInfo(Schema):
...
@@ -45,6 +45,7 @@ class DiaryInfo(Schema):
content
:
str
=
Field
(
...
,
description
=
"内容"
)
content
:
str
=
Field
(
...
,
description
=
"内容"
)
service_id
:
str
=
Field
(
None
,
description
=
"日记关联美购ID"
)
service_id
:
str
=
Field
(
None
,
description
=
"日记关联美购ID"
)
is_voted
:
bool
=
Field
(
False
,
description
=
"是否点赞"
)
is_voted
:
bool
=
Field
(
False
,
description
=
"是否点赞"
)
topic_num
:
int
=
Field
(
0
,
description
=
"帖子数"
)
vote_num
:
int
=
Field
(
0
,
description
=
"点赞数"
)
vote_num
:
int
=
Field
(
0
,
description
=
"点赞数"
)
reply_num
:
int
=
Field
(
0
,
description
=
"评论数"
)
reply_num
:
int
=
Field
(
0
,
description
=
"评论数"
)
gm_url
:
str
=
Field
(
None
,
description
=
"跳转协议"
)
gm_url
:
str
=
Field
(
None
,
description
=
"跳转协议"
)
...
...
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