Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
exhibition
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangxiao
exhibition
Commits
810aa29b
Commit
810aa29b
authored
May 06, 2022
by
zhangxiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
19a03bee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
13 deletions
+21
-13
README.md
README.md
+21
-13
No files found.
README.md
View file @
810aa29b
...
...
@@ -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
,
//
展品高度
"offset
X"
:
0.1
,
//
展品横向偏移量
"offset
Y"
:
0.1
,
//
展品纵向偏移量
"
thumb"
:
"http://xxxxxxx"
//
展品url
"number"
:
1
,
//
展位编号
"w
idth"
:
1.01
,
//
展品宽度(单位:米)
"h
eight"
:
1.01
,
//
展品高度(单位:米)
"offset
_x"
:
0.1
,
//
展品横向偏移(单位:米)
"offset
_y"
:
0.1
,
//
展品纵向偏移(单位:米)
"
url"
:
"https://xxxxx"
//
展品图片、视频下载地址
}
]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment