Commit 810aa29b authored by zhangxiao's avatar zhangxiao

update

parent 19a03bee
......@@ -82,12 +82,11 @@
"price":123
}
```
# 五、服务器-unity数据
* 1、打开unity页面时,服务器传递参数 exhibition_id(展馆id,用以unity后续与服务器交互)
* 2、获取展馆信息
# 五、服务器-客户端数据
* 1、获取展馆信息
### request
### method: POST
### host: http://www.ketibang.cn
### host: http://182.92.75.61
### path: /exhibition/detail
```json
{
......@@ -98,17 +97,26 @@
```json
{
"id":1, // 展览id
"rooms":[ // 所有展厅
"style": "1", // 1为现代,2为古代
"title": "主标题",
"subtitle": "副标题",
"cover": "http://xxxxx", // 封面图
"start_time": "", // 展会开始时间
"end_time": "", // 展会结束时间
"likes": 123, // 点赞数
"flowers": 123, // 送花数
"applauses": 123, // 鼓掌数
"rooms":[ // 所有开放的场馆
{
"index":1, // 展厅编号
"exhibits":[ // 当前展厅内展品
"number": 2, // 场馆类型编号,1为开幕式,2为展厅,3为演播厅
"exhibits": [ // 当前场馆内所有展位信息
{
"number":1, // 展位编号
"w":1, // 展品宽度
"h":1, // 展品高度
"offsetX":0.1, // 展品横向偏移量
"offsetY":0.1, // 展品纵向偏移量
"thumb":"http://xxxxxxx" // 展品url
"number": 1, // 展位编号
"width": 1.01, // 展品宽度(单位:米)
"height": 1.01, // 展品高度(单位:米)
"offset_x": 0.1, // 展品横向偏移(单位:米)
"offset_y": 0.1, // 展品纵向偏移(单位:米)
"url": "https://xxxxx" // 展品图片、视频下载地址
}
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment