Authorization: ********************{
"category_id": 1,
"name": "哈他瑜伽",
"type": "group",
"difficulty": "beginner",
"duration": 60,
"description": "适合初学者的瑜伽课程",
"cover_image": "https://example.com/courses/1.jpg"
}curl --location --request POST 'http://perfit-api.test.muke.design/api/client/courses/calendar' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"category_id": 1,
"name": "哈他瑜伽",
"type": "group",
"difficulty": "beginner",
"duration": 60,
"description": "适合初学者的瑜伽课程",
"cover_image": "https://example.com/courses/1.jpg"
}'{
"code": 200,
"message": "课程创建成功",
"data": {
"id": 1,
"name": "哈他瑜伽"
}
}