试卷cud
<h5>简要描述</h5>
<ul>
<li>试卷cud</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{BASE_URL}}/api/job.paper/addPaperAndQuestion</code> POST</li>
<li><code>{{BASE_URL}}/api/job.paper/editPaperAndQuestion/id/:id</code> POST</li>
<li><code>{{BASE_URL}}/api/job.paper/del/ids/:ids</code>DELETE</li>
</ul>
<h5>参数</h5>
<pre><code class="language-php">商品排序选项:
0 => '印象款',
1 => '引流款',
2 => '跑量款',
3 => '利润款',
4 => '福利款',
5 => '话题款',
6 => '形象款',
7 => '特色款',
8 => '气质款',
9 => '爆款'</code></pre>
<pre><code class="language-php"> tag 为 1 的都属于第一题 根据本场直播的背景资料,完成本场直播定位与货品配比 下的问题
tag 为 2 的都属于第二题 根据本场直播的目的和属性,请对以下商品进行定位和推荐排序 下的问题
tag 为 3 的都属于第一题中 本场货品配比 下的问题</code></pre>
<h1>添加</h1>
<pre><code>{
"platformId": 527,
"step": "webLiveGoodsSortPosition", #固定值, 直播商品排序与定位
"video": "",
"name": "直播商品排序定位2",
"background": ":双十一即将临近,本次双十一,你们团队的目的是扩大知名度,增加粉丝数量,请你作为团队选品员,定义本场直播目的,并对选择直播商品对它们进行排序和选品定位。",
"score": "16.00",
"belongs": 1,
"type": 0,
"extra": {},
"status": 1,
"addTime": "2021-12-31 17:50:29",
"updateTime": "2021-12-31 17:50:29",
"knowledge": "",
"questionList": [
{
"question": "本场直播主题",
"type": 1,
"score": "2.00",
"tag": "1", #根据本场直播的背景资料,完成本场直播定位与货品配比。
"option": [
"场景主题",
"活动主题"
],
"answer": "0",
"keywords": ""
},
{
"question": "直播目的",
"type": 1,
"score": "2.00",
"tag": "1",
"option": [
"团队盈利",
"树立形象(提高美誉度",
"圈粉"
],
"answer": "2",
"keywords": ""
},
{
"question": "畅销单品",
"type": 1,
"score": "2.00",
"tag": "3", #本场货品配比
"option": [
"整场货品5%",
"50%",
"20%",
"30%"
],
"answer": "2",
"keywords": ""
},
{
"question": "滞销连带",
"type": 1,
"score": "2.00",
"tag": "3",
"option": [
"整场货品5%",
"50%",
"20%",
"30%"
],
"answer": "1",
"keywords": ""
},
{
"question": "流行主推",
"type": 1,
"score": "2.00",
"tag": "3",
"option": [
"整场货品5%",
"50%",
"20%",
"30%"
],
"answer": "3",
"keywords": ""
},
{
"question": "辅助类",
"type": 1,
"score": "2.00",
"tag": "3",
"option": [
"整场货品5%",
"50%",
"20%",
"30%"
],
"answer": "0",
"keywords": ""
},
{
"question": "商品定位", #
"type": 1,
"score": "2.00",
"tag": "2", #根据本场直播的目的和属性,请对以下商品进行定位和推荐排序。
"option": [ #商品的名称
"2个金属小抓夹",
"真喜利克拉戒指"
],
"extra": {
"goodsInfo":[ #商品列表的商品数据,确保顺序跟列表总的顺序一致
{
"id": 2,
"title": "2个金属小抓夹",
"daySevenSales": 145000,
"daySevenViews": 453000,
"daySevenConversionRate": 32,
"visitors": 972000,
"totalSales": 251000,
"livePrice": "9.90",
"retailPrice": "21.00",
"profitMargin": 2,
"demand": 9922,
"favorableRating": 92,
"afterBuyingRate": 15.36,
"stock": 15200,
"brand": "知名大牌",
"status": 1,
"addTime": "2021-12-31 09:31:09",
"updateTime": "2021-12-31 09:35:48"
},
{
"id": 10,
"title": "真喜利克拉戒指",
"daySevenSales": 4100,
"daySevenViews": 3700,
"daySevenConversionRate": 11,
"visitors": 27000,
"totalSales": 5253,
"livePrice": "399.00",
"retailPrice": "499.00",
"profitMargin": 83,
"demand": 208,
"favorableRating": 91.8,
"afterBuyingRate": 6.53,
"stock": 5000,
"brand": "知名大牌",
"status": 1,
"addTime": "2021-12-31 09:50:10",
"updateTime": "2021-12-31 09:50:10"
},
......
],
"position" : "印象款" #提示用户题目需要计算的商品定位是哪种的
},
"answer": "0", #答案所选中的商品的下标
"keywords": ""
},
{
"question": "商品排序",
"type": 14, #排序题
"score": "2.00",
"tag": "2",
"option": [], #选项为固定值
"answer": "引流款,印象款,跑量款,福利款,跑量款", #将用户选择的答案按照顺序拼接在一起
"keywords": ""
}
]
}</code></pre>