{
"courseId": 0,
"productId": "string",
"week": 0,
"isPreview": true,
"credentials": "string"
}
curl --location --request POST 'http://test-apisix.taolihanyu.net/roadmap/app-api/v2/hsk-course/unit/list' \
--header 'payload: {'\''mid'\'':{{mid}},'\''username'\'':{{username}}}' \
--header 'Authorization: bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"courseId": 0,
"productId": "string",
"week": 0,
"isPreview": true,
"credentials": "string"
}'
{
"code": "",
"data": {
"courseId": "",
"courseName": "",
"coverImg": "",
"bgCover": "",
"learnLessonSum": 0,
"unitSum": 0,
"lessonSum": 0,
"wrongQuestionMode": 0,
"weeklyLearnRestric": 0,
"usageScenarios": 0,
"isBuy": 0,
"dayConsumed": 0,
"productTag": "",
"productId": "",
"wrongBookRedDot": false,
"learnableUnitCount": 0,
"nodeTypeList": {
"": ""
},
"cidPropsList": {
"": {}
},
"unitList": [
{
"children": [
{
"children": [
{
"children": [],
"cid": "",
"name": "",
"nodeCode": "",
"nodeType": "",
"showStatus": 0,
"status": 0,
"statusValue": "",
"unlockTime": ""
}
],
"cid": "",
"name": "",
"nodeCode": "",
"nodeType": "",
"showStatus": 0,
"status": 0,
"statusValue": "",
"unlockTime": ""
}
],
"name": "",
"showStatus": 0,
"status": 0,
"statusValue": "",
"isFree": 0,
"unitId": 0,
"unitSort": 0,
"cid": "",
"nodeCode": "",
"nodeType": ""
}
]
},
"msg": "",
"total": 0
}