{
"userId": 3,
"name": "景点1",
"video": "https://daoziji.oss-cn-shenzhen.aliyuncs.com/TCLhaiwai/rjkf1/%E7%94%9F%E4%BA%A7%E9%80%82%E5%BA%94%E6%80%A7%E5%8A%9F%E8%83%BD%E5%AE%9E%E8%B7%B5.mp4",
"maxTask": 6,
"gameImg": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"fee": 20000,
"notice": "收到附件是南方柯尼卡",
"location": "广东省市惠州市惠城区",
"xCoordinate": "23.084171",
"yCoordinate": "113.416763",
"openTime": "9:00~18:00",
"introduce": "景点介绍",
"personal": 1,
"chargeItems": [
{
"chargeName": "景点消费项名称",
"type": 1,
"supplyStartTime": "2021-04-01",
"supplyEndTime": "2021-04-03",
"price": 10,
"chargeUnit": "个",
"chargeImg": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"chargeExplain": "收费项说明"
}
],
"scenicVideos": [
{
"video": "https://daoziji.oss-cn-shenzhen.aliyuncs.com/TCLhaiwai/rjkf1/%E7%94%9F%E4%BA%A7%E9%80%82%E5%BA%94%E6%80%A7%E5%8A%9F%E8%83%BD%E5%AE%9E%E8%B7%B5.mp4",
"fee": 100
}
],
"scenicIntroduces": [
{
"imageUrl": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png"
},
{
"imageUrl": "https://daoziji.oss-cn-shenzhen.aliyuncs.com/dapagnceshi/Word%E5%B0%81%E9%9D%A2.png"
}
],
"scenicTypes": [
{
"dictId": 41,
"text": "森林风景很好"
},
{
"dictId": 42,
"text": "山岳风景很好"
},
{
"dictId": 43,
"text": "海滨风景很好"
}
],
"testTasks": [
{
"userId": 3,
"scenicId": 1,
"title": "答题任务",
"mode": 3,
"type": 2,
"introduce": "回答题目",
"testQuestionDtos": [
{
"select": "ABC",
"testOptions": [
{
"text": "选项1",
"sort": 1
},
{
"text": "选项2",
"sort": 2
},
{
"text": "选项3",
"sort": 3
},
{
"text": "选项4",
"sort": 4
}
]
}
],
"prop": "无",
"duration": 900,
"img": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"taskRole": 1,
"exhibit": 0,
"useType": 31,
"fee": 10
},
{
"userId": 3,
"scenicId": 1,
"title": "视频任务",
"mode": 2,
"type": 1,
"introduce": "每个小组背一句宋朝宋真宗赵恒的《劝学》,然后集合一起大场吟诵整首《劝学》",
"prop": "无",
"duration": 7200,
"img": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"taskRole": 1,
"exhibit": 0,
"useType": 31,
"fee": 10
},
{
"userId": 3,
"scenicId": 1,
"title": "图片任务",
"mode": 1,
"type": 3,
"introduce": "研学",
"prop": "无",
"img": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"taskRole": 1,
"exhibit": 0,
"useType": 31,
"fee": 10
}
]
}
curl --location --request POST 'https://travel.daoziji.com/user/plan/scenic/addScenic' \
--header 'Authentication: eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJiMjY0ZDMzMDYyOGQ0M2ZiYjMxNWViN2U4NzYyZmJmYiIsInN1YiI6IjMiLCJpc3MiOiJzZyIsImlhdCI6MTY5OTYwMjEwNywiZXhwIjoxNzMxMTM4MTA3fQ.w-0cFoRzIe-KmgPmEzGMmwigoBmN10fMko2kzsbOoc0' \
--header 'token: 59488631878869803924403251' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": 3,
"name": "景点1",
"video": "https://daoziji.oss-cn-shenzhen.aliyuncs.com/TCLhaiwai/rjkf1/%E7%94%9F%E4%BA%A7%E9%80%82%E5%BA%94%E6%80%A7%E5%8A%9F%E8%83%BD%E5%AE%9E%E8%B7%B5.mp4",
"maxTask": 6,
"gameImg": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"fee": 20000,
"notice": "收到附件是南方柯尼卡",
"location": "广东省市惠州市惠城区",
"xCoordinate": "23.084171",
"yCoordinate": "113.416763",
"openTime": "9:00~18:00",
"introduce": "景点介绍",
"personal": 1,
"chargeItems": [
{
"chargeName": "景点消费项名称",
"type": 1,
"supplyStartTime": "2021-04-01",
"supplyEndTime": "2021-04-03",
"price": 10,
"chargeUnit": "个",
"chargeImg": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"chargeExplain": "收费项说明"
}
],
"scenicVideos": [
{
"video": "https://daoziji.oss-cn-shenzhen.aliyuncs.com/TCLhaiwai/rjkf1/%E7%94%9F%E4%BA%A7%E9%80%82%E5%BA%94%E6%80%A7%E5%8A%9F%E8%83%BD%E5%AE%9E%E8%B7%B5.mp4",
"fee": 100
}
],
"scenicIntroduces": [
{
"imageUrl": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png"
},
{
"imageUrl": "https://daoziji.oss-cn-shenzhen.aliyuncs.com/dapagnceshi/Word%E5%B0%81%E9%9D%A2.png"
}
],
"scenicTypes": [
{
"dictId": 41,
"text": "森林风景很好"
},
{
"dictId": 42,
"text": "山岳风景很好"
},
{
"dictId": 43,
"text": "海滨风景很好"
}
],
"testTasks": [
{
"userId": 3,
"scenicId": 1,
"title": "答题任务",
"mode": 3,
"type": 2,
"introduce": "回答题目",
"testQuestionDtos": [
{
"select": "ABC",
"testOptions": [
{
"text": "选项1",
"sort": 1
},
{
"text": "选项2",
"sort": 2
},
{
"text": "选项3",
"sort": 3
},
{
"text": "选项4",
"sort": 4
}
]
}
],
"prop": "无",
"duration": 900,
"img": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"taskRole": 1,
"exhibit": 0,
"useType": 31,
"fee": 10
},
{
"userId": 3,
"scenicId": 1,
"title": "视频任务",
"mode": 2,
"type": 1,
"introduce": "每个小组背一句宋朝宋真宗赵恒的《劝学》,然后集合一起大场吟诵整首《劝学》",
"prop": "无",
"duration": 7200,
"img": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"taskRole": 1,
"exhibit": 0,
"useType": 31,
"fee": 10
},
{
"userId": 3,
"scenicId": 1,
"title": "图片任务",
"mode": 1,
"type": 3,
"introduce": "研学",
"prop": "无",
"img": "http://hzdaoziji.oss-cn-hangzhou.aliyuncs.com/hzdaoziji/2022/12/03/48e2fae120d541febf0b5a1c1fd081f9.png",
"taskRole": 1,
"exhibit": 0,
"useType": 31,
"fee": 10
}
]
}'
{
"msg": "操作成功",
"code": 200
}