FAQ-创建
测试中POST
/faq请求参数
Body 参数application/json
brainId
integer
大脑id
cateId
integer
分类id
faqTags
array[integer]
faq ids
importType
integer
必需
导入faq模式 0:单个导入 1:批量导入
questions
array[string]
问题
answer
string
回答
attachments
array[integer]
附件id
updateCycle
integer
周期更新间隔
1:1天 2:2天。。。
answerBeforeUpdate
string
未更新前回复
faqStatus
integer
是否启用 0禁用,1启用
updateCycleType
integer
周期类型
0:不更新 1:自然周 2:自然月 3:自定义周期
startCycleDate
integer
周期开始时间
示例
{
"brainId": 1027,
"cateId": 25,
"answer": "41234",
"faqStatus": 1,
"importType": 0,
"attachments": [
251,
250
],
"faqTags": [
51
],
"questions": [
"41234"
],
"updateCycle": 0,
"updateCycleType": 0,
"startCycleDate": 1800000000,
"answerBeforeUpdate": ""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
null
必需
示例
{
"code": 0,
"msg": "string",
"data": null
}
修改于 21 小时前