{
"courseId": 0,
"lang": "string",
"unitSum": 0,
"lessonSum": 0,
"examSum": 0,
"unitCalendarUnlock": 0,
"unlockMode": 0,
"relations": [
{
"type": 0,
"unitId": 0,
"name": "string",
"examPaperName": "string",
"previewAsName": "string",
"relationId": 0,
"unlockTime": "string",
"unitSort": 0,
"alreadyLearned": false,
"times": [
{
"unitId": 0,
"type": 0,
"typeSort": 0,
"relationId": 0,
"name": "string",
"asName": "string",
"unlockTime": "string"
}
],
"status": 0,
"liveRecord": {
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"moduleName": "string",
"title": "string",
"startTime": "string",
"endTime": "string",
"serverTime": "LocalDateTime.now()",
"liveLink": "string",
"recordVideoId": 0,
"recordVideoName": "string",
"videoInfo": {
"title": "string",
"picture": "string",
"duration": "string",
"videoUri": "string",
"mpsUri": "string"
},
"liveFiles": [
{
"id": 0,
"liveId": 0,
"name": "string",
"displayName": "string",
"url": "string",
"previewContent": [
"string"
],
"fileSize": 0,
"type": 0,
"sort": 0
}
]
},
"hidden": 0
}
]
}curl --location --request PUT 'http://test-ops.taolihanyu.net/test/roadmap/hsk-course/content/edit' \
--header 'payload: {'\''mid'\'':{{mid}},'\''username'\'':{{username}},'\''userType'\'':,'\''campusId'\'':}' \
--header 'Authorization: bearer {{access_token}}' \
--header 'a-version: 4.14.0' \
--header 'a-language: zh' \
--header 'ostype: ios' \
--header 'Content-Type: application/json' \
--data-raw '{
"courseId": 0,
"lang": "string",
"unitSum": 0,
"lessonSum": 0,
"examSum": 0,
"unitCalendarUnlock": 0,
"unlockMode": 0,
"relations": [
{
"type": 0,
"unitId": 0,
"name": "string",
"examPaperName": "string",
"previewAsName": "string",
"relationId": 0,
"unlockTime": "string",
"unitSort": 0,
"alreadyLearned": false,
"times": [
{
"unitId": 0,
"type": 0,
"typeSort": 0,
"relationId": 0,
"name": "string",
"asName": "string",
"unlockTime": "string"
}
],
"status": 0,
"liveRecord": {
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"moduleName": "string",
"title": "string",
"startTime": "string",
"endTime": "string",
"serverTime": "LocalDateTime.now()",
"liveLink": "string",
"recordVideoId": 0,
"recordVideoName": "string",
"videoInfo": {
"title": "string",
"picture": "string",
"duration": "string",
"videoUri": "string",
"mpsUri": "string"
},
"liveFiles": [
{
"id": 0,
"liveId": 0,
"name": "string",
"displayName": "string",
"url": "string",
"previewContent": [
"string"
],
"fileSize": 0,
"type": 0,
"sort": 0
}
]
},
"hidden": 0
}
]
}'{
"code": "",
"data": false,
"msg": "",
"total": 0
}