{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"productId": "string",
"type": 0,
"courseId": 0,
"courseBelong": 0,
"showNumType": 0,
"studyNum": 0,
"coursewareSwitch": 0,
"teacherSwitch": 0,
"productTag": "string",
"sort": 0,
"topNum": 0,
"deleted": 0,
"status": "FAILED",
"langList": [
"string"
],
"priceList": {
"key": 0
},
"contentList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"courseId": 0,
"lang": "string",
"name": "string",
"subhead": "string",
"coverImg": "string",
"image": "string",
"description": "string",
"oriPrice": 0,
"disPrice": 0,
"currency": "string",
"usDisPrice": 0,
"contactMsg": "string",
"status": "FAILED",
"fileList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"lang": "string",
"title": "string",
"previewContent": "string",
"url": "string",
"oriPrice": 0,
"currency": "string",
"type": 0,
"sort": 0
}
],
"courseInfo": {
"courseId": 0,
"name": "string",
"sort": 0,
"weeklyLearnRestric": 0,
"hskLevel": 0,
"timesList": [
{
"id": 0,
"name": "string",
"sort": 0,
"isFree": false,
"moduleList": [
{
"name": "string",
"parentId": 0,
"studyName": "string",
"practiceName": "string",
"sort": 0,
"type": 0,
"videoIds": "string",
"articleId": 0,
"partList": [
{
"type": 0,
"name": "string",
"practiceBookId": 0,
"videoIds": [
0
],
"articleId": 0,
"sum": "public static final BigDecimal ZERO;"
}
]
}
]
}
],
"unitList": [
{
"unitId": 0,
"name": "string",
"sort": 0,
"timesList": [
{
"id": 0,
"name": "string",
"sort": 0,
"isFree": false,
"moduleList": [
{
"name": "string",
"parentId": 0,
"studyName": "string",
"practiceName": "string",
"sort": 0,
"type": 0,
"videoIds": "string",
"articleId": 0,
"partList": [
{
"type": 0,
"name": "string",
"practiceBookId": 0,
"videoIds": [
0
],
"articleId": 0,
"sum": "public static final BigDecimal ZERO;"
}
]
}
]
}
]
}
]
}
}
],
"teacherList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"teacherId": 0,
"sort": 0,
"nickname": "string",
"avatarUrl": "string",
"intro": "string"
}
],
"courseList": [
{
"courseId": 0,
"name": "string",
"sort": 0,
"weeklyLearnRestric": 0,
"hskLevel": 0,
"timesList": [
{
"id": 0,
"name": "string",
"sort": 0,
"isFree": false,
"moduleList": [
{
"name": "string",
"parentId": 0,
"studyName": "string",
"practiceName": "string",
"sort": 0,
"type": 0,
"videoIds": "string",
"articleId": 0,
"partList": [
{
"type": 0,
"name": "string",
"practiceBookId": 0,
"videoIds": [
0
],
"articleId": 0,
"sum": "public static final BigDecimal ZERO;"
}
]
}
]
}
],
"unitList": [
{
"unitId": 0,
"name": "string",
"sort": 0,
"timesList": [
{
"id": 0,
"name": "string",
"sort": 0,
"isFree": false,
"moduleList": [
{
"name": "string",
"parentId": 0,
"studyName": "string",
"practiceName": "string",
"sort": 0,
"type": 0,
"videoIds": "string",
"articleId": 0,
"partList": [
{
"type": 0,
"name": "string",
"practiceBookId": 0,
"videoIds": [
0
],
"articleId": 0,
"sum": "public static final BigDecimal ZERO;"
}
]
}
]
}
]
}
]
}
],
"tagList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"lang": "string",
"content": "string",
"sort": 0
}
],
"giftList": [
{
"commodityId": 0,
"title": "string",
"previewContent": "string",
"url": "string",
"type": 0,
"sort": 0,
"contentList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"lang": "string",
"title": "string",
"previewContent": "string",
"url": "string",
"oriPrice": 0,
"currency": "string",
"type": 0,
"sort": 0
}
]
}
],
"lang": "string",
"level": 0,
"name": "string",
"oriPrice": 0,
"disPrice": 0,
"currency": "string",
"usDisPrice": 0,
"coverImg": "string"
}curl --location --request PUT 'http://test-apisix.taolihanyu.net/oper/commodity/changeStatus' \
--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,
"productId": "string",
"type": 0,
"courseId": 0,
"courseBelong": 0,
"showNumType": 0,
"studyNum": 0,
"coursewareSwitch": 0,
"teacherSwitch": 0,
"productTag": "string",
"sort": 0,
"topNum": 0,
"deleted": 0,
"status": "FAILED",
"langList": [
"string"
],
"priceList": {
"key": 0
},
"contentList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"courseId": 0,
"lang": "string",
"name": "string",
"subhead": "string",
"coverImg": "string",
"image": "string",
"description": "string",
"oriPrice": 0,
"disPrice": 0,
"currency": "string",
"usDisPrice": 0,
"contactMsg": "string",
"status": "FAILED",
"fileList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"lang": "string",
"title": "string",
"previewContent": "string",
"url": "string",
"oriPrice": 0,
"currency": "string",
"type": 0,
"sort": 0
}
],
"courseInfo": {
"courseId": 0,
"name": "string",
"sort": 0,
"weeklyLearnRestric": 0,
"hskLevel": 0,
"timesList": [
{
"id": 0,
"name": "string",
"sort": 0,
"isFree": false,
"moduleList": [
{
"name": "string",
"parentId": 0,
"studyName": "string",
"practiceName": "string",
"sort": 0,
"type": 0,
"videoIds": "string",
"articleId": 0,
"partList": [
{
"type": 0,
"name": "string",
"practiceBookId": 0,
"videoIds": [
0
],
"articleId": 0,
"sum": "public static final BigDecimal ZERO;"
}
]
}
]
}
],
"unitList": [
{
"unitId": 0,
"name": "string",
"sort": 0,
"timesList": [
{
"id": 0,
"name": "string",
"sort": 0,
"isFree": false,
"moduleList": [
{
"name": "string",
"parentId": 0,
"studyName": "string",
"practiceName": "string",
"sort": 0,
"type": 0,
"videoIds": "string",
"articleId": 0,
"partList": [
{
"type": 0,
"name": "string",
"practiceBookId": 0,
"videoIds": [
0
],
"articleId": 0,
"sum": "public static final BigDecimal ZERO;"
}
]
}
]
}
]
}
]
}
}
],
"teacherList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"teacherId": 0,
"sort": 0,
"nickname": "string",
"avatarUrl": "string",
"intro": "string"
}
],
"courseList": [
{
"courseId": 0,
"name": "string",
"sort": 0,
"weeklyLearnRestric": 0,
"hskLevel": 0,
"timesList": [
{
"id": 0,
"name": "string",
"sort": 0,
"isFree": false,
"moduleList": [
{
"name": "string",
"parentId": 0,
"studyName": "string",
"practiceName": "string",
"sort": 0,
"type": 0,
"videoIds": "string",
"articleId": 0,
"partList": [
{
"type": 0,
"name": "string",
"practiceBookId": 0,
"videoIds": [
0
],
"articleId": 0,
"sum": "public static final BigDecimal ZERO;"
}
]
}
]
}
],
"unitList": [
{
"unitId": 0,
"name": "string",
"sort": 0,
"timesList": [
{
"id": 0,
"name": "string",
"sort": 0,
"isFree": false,
"moduleList": [
{
"name": "string",
"parentId": 0,
"studyName": "string",
"practiceName": "string",
"sort": 0,
"type": 0,
"videoIds": "string",
"articleId": 0,
"partList": [
{
"type": 0,
"name": "string",
"practiceBookId": 0,
"videoIds": [
0
],
"articleId": 0,
"sum": "public static final BigDecimal ZERO;"
}
]
}
]
}
]
}
]
}
],
"tagList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"lang": "string",
"content": "string",
"sort": 0
}
],
"giftList": [
{
"commodityId": 0,
"title": "string",
"previewContent": "string",
"url": "string",
"type": 0,
"sort": 0,
"contentList": [
{
"remark": "string",
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"id": 0,
"commodityId": 0,
"lang": "string",
"title": "string",
"previewContent": "string",
"url": "string",
"oriPrice": 0,
"currency": "string",
"type": 0,
"sort": 0
}
]
}
],
"lang": "string",
"level": 0,
"name": "string",
"oriPrice": 0,
"disPrice": 0,
"currency": "string",
"usDisPrice": 0,
"coverImg": "string"
}'{
"code": "",
"data": false,
"msg": "",
"total": 0
}