{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"classId": 0,
"homeworkName": "string",
"description": "string",
"unlockType": 0,
"unlockTime": "string",
"weekNumber": 0,
"recipients": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"homeworkId": 0,
"studentId": 0
}
],
"contents": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"homeworkId": 0,
"type": 0,
"bindId": 0,
"name": "string",
"asName": "string"
}
]
}curl --location --request POST 'http://test-ops.taolihanyu.net/test/roadmap/hsk-class-homework/addOrUpdate' \
--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 '{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"classId": 0,
"homeworkName": "string",
"description": "string",
"unlockType": 0,
"unlockTime": "string",
"weekNumber": 0,
"recipients": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"homeworkId": 0,
"studentId": 0
}
],
"contents": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"homeworkId": 0,
"type": 0,
"bindId": 0,
"name": "string",
"asName": "string"
}
]
}'{
"code": "",
"data": false,
"msg": "",
"total": 0
}