- 公共模块/base
- 计划模块/plan
- 景点
- 试题
- 任务
- 开发者工具
- 方案
- 线路
- 剧本
- 审核
- 行程-个人中心
- 人员管理/团队管理
- 任务管理
- 4-团队路线管理-新的任务
- 100-初始化行程团队景点(自动调用)
- 3-团队路线管理-团队任务列表(废弃)
- 5-团队路线管理-更新团队任务列表(废弃)
- 1-团队路线管理-任务一致性查询(如果发现该行程没有初始化景点,内部调用初始化行程团队景点)
- 2-团队路线管理-修改任务模式
- 4-团队路线管理-从任务库获取任务
- 5-团队路线管理-保存一个个人任务
- 5-团队路线管理-新增一个团队任务
- 3-团队路线管理-个人任务列表
- 3-团队路线管理-团队任务列表
- 3-团队路线管理-团队任务列表 - 删除
- 3-团队路线管理-个人任务-添加任务-景点/人员选择列表
- 3-团队路线管理-个人任务列表 - 删除
- 设置方案景点任务数目
- 获取方案景点任务数目
- 获取景点最大可用团队任务数目
- 团队路线管理
- 后勤管理
- 队长/参与者
- 100-初始化行程(自动调用)
- 99-根据方案id获取方案行程订单详情
- 99-删除行程—连带清除此行程下的所有数据和用户操作数据
- 99-开启签到/开始行程
- 999-调试用获取方案全部数据结构
- 行程报告
- 历史记录
- 闯关记录
- 组织架构/user
- 小程序接口 (部分)/wxUser
- 文件上传/user
- 导入向接口/wxUser
- 二期
- 3.0
- 其他
- 订单
- 大屏/plan
- deepSeek
- 线上
- 本地
- websocket本地测试连接
- 行程通知POST
- 測試GET
- 富文本框文件上传POST
新增景点
开发中
user
https://travel.daoziji.com/user
user
https://travel.daoziji.com/user
POST
https://travel.daoziji.com/user
请求参数
Header 参数
Authentication
string
必需
示例值:
eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJiMjY0ZDMzMDYyOGQ0M2ZiYjMxNWViN2U4NzYyZmJmYiIsInN1YiI6IjMiLCJpc3MiOiJzZyIsImlhdCI6MTY5OTYwMjEwNywiZXhwIjoxNzMxMTM4MTA3fQ.w-0cFoRzIe-KmgPmEzGMmwigoBmN10fMko2kzsbOoc0
token
string
可选
默认值:
59488631878869803924403251
Body 参数application/json
userId
integer
管理员id
tel
string
创建人手机号
name
string
景点名称
video
string
视频介绍
maxTask
integer
最大任务选择上限
gameImg
string
通关文牒
fee
integer
门票价格(分)
notice
string
景点概述
area
string
签到地点
location
string
详细地址
locationId
integer
签到地区id
x
string
经度
y
string
纬度
homeShow
boolean
是否首页展示
playIntroduce
string
玩法介绍
playRemark
string
用户须知
personal
integer
0非个人 1个人
scenicIntroduces
array [object {1}]
景点详情
imageUrl
string
图片地址
scenicTypes
array [object {2}]
必需
dictId
integer
景点类别id
text
string
该类别的介绍
openTime
string
开放时间
introduce
string
景点介绍
scenicVideos
array [object {2}]
景点讲解
video
string
视频
fee
integer
价格(分)
xCoordinate
string
必需
yCoordinate
string
必需
chargeItems
array [object {8}]
消费项
chargeName
string
景点消费项名称
type
integer
收费项类型 1团餐 2服装 3其他
supplyStartTime
string
供应开始时间
supplyEndTime
string
供应结束时间
price
integer
价格
chargeUnit
string
消费项/单位
chargeImg
string
收费项图片地址
chargeExplain
string
收费项说明
testTasks
array [object {14}]
必需
userId
integer
必需
scenicId
integer
必需
title
string
必需
mode
integer
必需
type
integer
必需
introduce
string
必需
testQuestionDtos
array [object {3}]
可选
prop
string
必需
duration
integer
必需
img
string
必需
taskRole
integer
必需
exhibit
integer
必需
useType
integer
必需
fee
integer
必需
示例
{
"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
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
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
}
]
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
code
integer
必需
示例
{
"msg": "操作成功",
"code": 200
}
修改于 2024-04-25 12:31:10