粉丝心理分析 curd
<h5>简要描述</h5>
<ul>
<li>通用题库一键 curd</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{BASE_URL}}/api/job.question/index</code> GET</li>
<li><code>{{BASE_URL}}/api/job.question/add</code> POST</li>
<li><code>{{BASE_URL}}/api/job.question/edit/id/:questionId</code> POST</li>
<li><code>{{BASE_URL}}/api/job.question/del/ids/:questionIds</code> DELETE</li>
</ul>
<h5>请求方式</h5>
<ul>
<li>如上 </li>
</ul>
<h5>请求参数</h5>
<pre><code>{
"type": 1, #1单选, 2 多选, 3 判断
"step": "webFanOperation", # 粉丝心里分析, 固定值
"question": "我是问题", # 问题
"options": [
"选项 A","选项 B",
]
"answer": "答案, 英文逗号分隔, 数组下标
"tag": "1", # 默认值
"belongs": "1"
}
#返回示例
{
"code": 20000,
"msg": "success",
"time": "2021-09-06 16:36:30",
"data": {
"count": 2,
"list": [
{
"jobQuestionId": 2,
"platformId": 25,
"type": 1,
"step": "webTrainingAssistant",
"question": "使用富文本",
"video": "视频链接, 可为空", # 视频地址
"background": "背景资料, 富文本, 丰富 question, 可为空", # 不是所有地方都要展示
"option": "选项, 使用英文分隔, 主观题不分隔",
"answer": "答案, 英文逗号分隔, 主观题答案使用富文本",
"tag": 1,
"annex": "题目附件, url 可为空", # 附件地址
"belongs": 1,
"paperId": 0,
"status": 1,
"addTime": "2021-09-06 14:37:33",
"updateTime": "2021-09-06 14:37:33",
"tagText": "默认" # 标签的中文值
}
]
}
}</code></pre>