@ccw-api/api
Preparing search index...
community-web/comment/create
Req
Type Alias Req
type
Req
=
{
commenter
?:
{
accountOid
:
MongoDBId
;
accountType
:
AccountTypes
;
avatar
:
CNameOssUrl
;
}
;
content
:
string
;
parentId
?:
number
;
replyToId
?:
number
;
sectionType
:
SectionType
;
topic
:
MinimalTopicInfo
;
}
Index
Properties
commenter?
content
parent
Id?
reply
To
Id?
section
Type
topic
Properties
Optional
commenter
commenter
?:
{
accountOid
:
MongoDBId
;
accountType
:
AccountTypes
;
avatar
:
CNameOssUrl
;
}
这个实际上是没必要的
content
content
:
string
Optional
parent
Id
parentId
?:
number
回复楼中楼时传:所在楼层的顶层评论 id(回复顶层评论时可省略,后端自动补)
Optional
reply
To
Id
replyToId
?:
number
回复评论时传:实际被回复的评论 id
section
Type
sectionType
:
SectionType
topic
topic
:
MinimalTopicInfo
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
commenter
content
parent
Id
reply
To
Id
section
Type
topic
@ccw-api/api
Loading...
这个实际上是没必要的