Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李进峰
jiaoyou_doc
Commits
136d31fa
Commit
136d31fa
authored
Nov 23, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
0f941138
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
139 additions
and
0 deletions
+139
-0
更多菜单-打开地图.md
gameditor/前端接口/更多菜单-打开地图.md
+139
-0
No files found.
gameditor/前端接口/更多菜单-打开地图.md
0 → 100644
View file @
136d31fa
**测试环境URL**
:http://tx-gz14.heyqiwu.cn
**测试环境URL**
:http://tx-gz14.heyqiwu.cn
**生产环境URL**
:http://tx-gz11.heyqiwu.cn
[
TOC
]
### 创建地点
URL: /api/platform/design/place
METHOD: POST
URL Parameters|TYPE: JSON
```
{
"name":"地点测试",
"nickname":"地点测试",
"ableGo":[2,3],
"ableGoName":"地点测试,地点测试",
"goFlag":1,
"isBase":True,
"intro":"地点测试地点测试地点测试",
"projectId":212
}
```
Headers:
| Parameter | Type | Description |
| :----------- | :----------------------------: | ----------- |
| content-type | application/json;charset=utf-8 | |
ResponseBody:
```
{"code":1,"msg":"成功","data":472}
```
### 删除地点
URL: /api/platform/design/place
METHOD: DELETE
| Parameter | Type | Description |
| :-------- | :--: | ----------: |
| projectId | Long | 游戏工程id |
Headers:
| Parameter | Type | Description |
| :----------- | :----------------------------: | ----------- |
| content-type | application/json;charset=utf-8 | |
ResponseBody:
```
{"code":1,"msg":"成功","data":null}
```
### 更新地点
URL: /api/platform/design/place
METHOD: PUT
URL Parameters|TYPE: JSON
```
{
"id":473,
"name":"地点测试",
"nickname":"地点测试",
"ableGo":[2,3],
"ableGoName":"地点测试,地点测试",
"goFlag":1,
"isBase":True,
"intro":"地点测试地点测试地点测试",
"projectId":212
}
```
Headers:
| Parameter | Type | Description |
| :----------- | :----------------------------: | ----------- |
| content-type | application/json;charset=utf-8 | |
ResponseBody:
```
{"code":1,"msg":"成功","data":null}
```
### 搜索地点
URL: /api/platform/design/place/search
METHOD: POST
URL Parameters|TYPE:Form
| Parameter | Type | Description |
| :--------- | :----: | ----------: |
| projectId | Long | 分类id |
| searchText | String | 搜索的文本 |
ResponseBody:
```
{
"code": 1,
"msg": "成功",
"data": [{
"id": 473,
"name": "地点测试地点测试",
"nickname": "地点测试地点测试",
"ableGo": [4, 5],
"goFlag": 1,
"isBase": true,
"ableGoName": "地点测试,地点测试,地点测试,地点测试",
"intro": "地点测试地点测试地点测试",
"projectId": 212
}, {
"id": 474,
"name": "地点测试2",
"nickname": "地点测试",
"ableGo": [2, 3],
"goFlag": 1,
"isBase": true,
"ableGoName": "地点测试,地点测试",
"intro": "地点测试地点测试地点测试",
"projectId": 212
}]
}
```
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