## 獲取題目
~~~[api]
get: https://api.lalabibi.cn/psyc/qcqw/tests
*id=7#題目id
<<<
success
{
"code": 200,
"data": {
"id": 7,
"weigh": 20,
"name": "你付出的真心值多少錢?",
"name_color": "#ffffff",
"title": "測一下你的真心值多少錢",
"title_image": "https://labi-game-xinli.oss-cn-hangzhou.aliyuncs.com/image/20210128/b0b5d37fd6de08f0f809bcc1e2973538.png",
"describes": "",
"descrebe_color": "",
"box_color": "#ffffff",
"btn_bgcolor": "#FFFFFF",
"usenum": 82,
"evaluate": "",
"bg_images": [
"https://labi-game-xinli.oss-cn-hangzhou.aliyuncs.com/image/20210128/65625b61ca290f54f45febd54fb064c9.jpg",
"https://labi-game-xinli.oss-cn-hangzhou.aliyuncs.com/image/20210128/05edcad3fbbc693565674317962ff9f0.jpg",
"https://labi-game-xinli.oss-cn-hangzhou.aliyuncs.com/image/20210128/8a08be71531318125ecd53f6ad07afa7.jpg",
"https://labi-game-xinli.oss-cn-hangzhou.aliyuncs.com/image/20210128/b233fc5a2c79f2c03ad649aca46cc7b4.jpg",
"https://labi-game-xinli.oss-cn-hangzhou.aliyuncs.com/image/20210128/3b37a6adb2b693c356a5cd284adee863.jpg",
"https://labi-game-xinli.oss-cn-hangzhou.aliyuncs.com/image/20210128/330e32ae5ba2fdd4914b06bac2489187.jpg"
],
"bg_color": "#9DDCFC",
"template_path": "pages/dati/detailed?goodsid=",
"templateid": "",
"loadingimage": "https://labi-game-xinli.oss-cn-hangzhou.aliyuncs.com/image/20210128/34983928c0789851e47c9a152410d7be.png",
"rich_describe": [],
"share_desc": "點擊測試,獲取你的專屬答案",
"share_title": "你付出的真心值不值?",
"qcgoodstype_id": 3,
"qctemplate_id": 8,
"qcseries_id": 4,
"recommend_status": 2,
"status": 1,
"number_questions": 10,
"create_time": null,
"update_time": null,
"delete_time": 0,
"questions": [ // 測試題的問題
{
"id": 26,
"tests_id": 7,
"question": "你希望擁有怎樣的愛情經歷呢?",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 0,
"options": [
{
"id": 92,
"question_id": 26,
"title": "熱烈瘋狂的愛情",
"img": "", // 如果為空則無圖片,選擇文字;不為空為選擇圖片
"score": "0", // 該選項的分數
"next": "2", // 選擇該選項后,跳到第幾個(從1開始計數)
"theme": 8
},
{
"id": 93,
"question_id": 26,
"title": "浪漫深情的愛情",
"img": "",
"score": "0",
"next": "2",
"theme": 8
},
{
"id": 94,
"question_id": 26,
"title": "細長流水的愛情",
"img": "",
"score": "0",
"next": "2",
"theme": 8
},
{
"id": 95,
"question_id": 26,
"title": "甜甜蜜蜜的愛情",
"img": "",
"score": "0",
"next": "2",
"theme": 8
}
]
},
{
"id": 27,
"tests_id": 7,
"question": "你覺得其實自己是一個異性緣很弱的人嗎?",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 1,
"options": [
{
"id": 96,
"question_id": 27,
"title": "是",
"img": "",
"score": "0",
"next": "3",
"theme": 8
},
{
"id": 97,
"question_id": 27,
"title": "不是",
"img": "",
"score": "0",
"next": "3",
"theme": 8
},
{
"id": 98,
"question_id": 27,
"title": "還好",
"img": "",
"score": "0",
"next": "3",
"theme": 8
}
]
},
{
"id": 28,
"tests_id": 7,
"question": "請從下列幾種花中選擇你較喜歡的一種。",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 2,
"options": [
{
"id": 99,
"question_id": 28,
"title": "向日葵",
"img": "",
"score": "0",
"next": "4",
"theme": 8
},
{
"id": 100,
"question_id": 28,
"title": "薰衣草",
"img": "",
"score": "0",
"next": "4",
"theme": 8
},
{
"id": 101,
"question_id": 28,
"title": "郁金香",
"img": "",
"score": "0",
"next": "4",
"theme": 8
},
{
"id": 102,
"question_id": 28,
"title": "車矢菊",
"img": "",
"score": "0",
"next": "4",
"theme": 8
},
{
"id": 103,
"question_id": 28,
"title": "風信子",
"img": "",
"score": "2",
"next": "4",
"theme": 8
}
]
},
{
"id": 29,
"tests_id": 7,
"question": "出門和戀人約會,你對以下的哪一點更在意?",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 3,
"options": [
{
"id": 104,
"question_id": 29,
"title": "發型",
"img": "",
"score": "0",
"next": "5",
"theme": 8
},
{
"id": 105,
"question_id": 29,
"title": "穿著",
"img": "",
"score": "0",
"next": "5",
"theme": 8
},
{
"id": 106,
"question_id": 29,
"title": "妝容",
"img": "",
"score": "0",
"next": "5",
"theme": 8
}
]
},
{
"id": 30,
"tests_id": 7,
"question": "中學時代,最喜歡看的下面的小說類型是?",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 4,
"options": [
{
"id": 111,
"question_id": 30,
"title": "懸疑",
"img": "",
"score": "0",
"next": "6",
"theme": 8
},
{
"id": 112,
"question_id": 30,
"title": "言情",
"img": "",
"score": "0",
"next": "6",
"theme": 8
},
{
"id": 113,
"question_id": 30,
"title": "武俠",
"img": "",
"score": "0",
"next": "6",
"theme": 8
},
{
"id": 114,
"question_id": 30,
"title": "玄幻",
"img": "",
"score": "0",
"next": "6",
"theme": 8
}
]
},
{
"id": 3132,
"tests_id": 7,
"question": "國王打算給剛成年的王子,立一名溫柔賢淑的王妃。王子并不愿意,但是父命難違,無奈之下,給全國的姑娘們出了一道難題,“能夠將這件襯衫洗干凈的人,便有資格成為我的王妃!”很多慕名前來的女孩,都將衣服越洗越黑。舉國上下,唯有一名女子洗干凈了王子的衣服,你覺得原因是?",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 5,
"options": [
{
"id": 9055,
"question_id": 3132,
"title": "他倆一伙兒的,早就串通好了",
"img": "",
"score": "0",
"next": "7",
"theme": 8
},
{
"id": 9056,
"question_id": 3132,
"title": "女子心無雜念,衣服便能洗白了",
"img": "",
"score": "0",
"next": "7",
"theme": 8
},
{
"id": 9057,
"question_id": 3132,
"title": "女生聰慧無比,用染料將衣服染白了",
"img": "",
"score": "0",
"next": "7",
"theme": 8
}
]
},
{
"id": 3133,
"tests_id": 7,
"question": "車站中,響起了一段廣播,“請帶好你的貴重物品下車”,這時,男生轉過頭來看著女生說?",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 6,
"options": [
{
"id": 9058,
"question_id": 3133,
"title": "“走吧,貴重物品!”",
"img": "",
"score": "0",
"next": "8",
"theme": 8
},
{
"id": 9059,
"question_id": 3133,
"title": "“你沒落下什么吧?收拾好就走!”",
"img": "",
"score": "0",
"next": "8",
"theme": 8
},
{
"id": 9060,
"question_id": 3133,
"title": "“快點,車要關門了!”",
"img": "",
"score": "",
"next": "8",
"theme": 8
}
]
},
{
"id": 3134,
"tests_id": 7,
"question": "不見面時,會一直惦記;見面了,卻又什么話都說不出口。ta總能揪住你的心,使你無法忘懷,即便是這樣,你依然甘之如飴。這個人是你的?",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 7,
"options": [
{
"id": 9061,
"question_id": 3134,
"title": "戀人",
"img": "",
"score": "0",
"next": "9",
"theme": 8
},
{
"id": 9062,
"question_id": 3134,
"title": "家人",
"img": "",
"score": "0",
"next": "9",
"theme": 8
},
{
"id": 9063,
"question_id": 3134,
"title": "朋友",
"img": "",
"score": "0",
"next": "9",
"theme": 8
},
{
"id": 9064,
"question_id": 3134,
"title": "偶像",
"img": "",
"score": "0",
"next": "9",
"theme": 8
}
]
},
{
"id": 3135,
"tests_id": 7,
"question": "這世間有一面至純至凈的鏡子,可以凈化一切骯臟邪惡的東西。你想用它來凈化什么?",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 8,
"options": [
{
"id": 9065,
"question_id": 3135,
"title": "污穢渾濁的世界",
"img": "",
"score": "0",
"next": "10",
"theme": 8
},
{
"id": 9066,
"question_id": 3135,
"title": "人心中的黑暗面",
"img": "",
"score": "0",
"next": "10",
"theme": 8
},
{
"id": 9067,
"question_id": 3135,
"title": "丑陋不堪的外表",
"img": "",
"score": "0",
"next": "10",
"theme": 8
}
]
},
{
"id": 31,
"tests_id": 7,
"question": "如果可以,你更想對過去的自己說什么?",
"img": "",
"audio": "",
"video": "",
"theme": 0,
"index": 9,
"options": [
{
"id": 115,
"question_id": 31,
"title": "珍惜眼前人",
"img": "",
"score": "0",
"next": "-1",
"theme": 8
},
{
"id": 116,
"question_id": 31,
"title": "一定要好好努力",
"img": "",
"score": "0",
"next": "-2",
"theme": 8
},
{
"id": 117,
"question_id": 31,
"title": "不要沖動做事",
"img": "",
"score": "0",
"next": "-3",
"theme": 8
},
{
"id": 118,
"question_id": 31,
"title": "多學幾個手藝",
"img": "",
"score": "0",
"next": "-4",
"theme": 8
}
]
}
]
},
"msg": "success"
}
<<<
error
這里填寫錯誤的返回碼
以此類推,每個狀態使用 <<< 分割,
第一行添加狀態名稱
~~~