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
8a5a7cef
Commit
8a5a7cef
authored
Dec 05, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
06d80955
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
138 additions
and
0 deletions
+138
-0
管理界面-测试作品.md
gameditor/前端接口/管理界面-测试作品.md
+138
-0
No files found.
gameditor/前端接口/管理界面-测试作品.md
0 → 100644
View file @
8a5a7cef
**测试环境URL**
:http://tx-gz14.heyqiwu.cn
**测试环境URL**
:http://tx-gz14.heyqiwu.cn
**生产环境URL**
:http://tx-gz11.heyqiwu.cn
[
TOC
]
### 获取服务列表信息
**METHOD**
: GET
**path**
: api/platform/chattest/api/service/list
**RequestHeaders:**
同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求body字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求示例
```
js
curl
'https://developer.heyqiwu.cn/api/platform/chattest/api/service/list'
\
-
H
'sec-ch-ua: "Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"'
\
-
H
'sec-ch-ua-mobile: ?0'
\
-
H
'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFM05USTJOVEVzSW1WNGNDSTZNVGN3TVRjMU9UZzFNU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLjNTSng1ejk2SWwxNmhMV2tPWGdpRmNIMnpDYXNNa0tKQXhOcnBBTG95WlE6czAwcGVyczNjcmV0'
\
-
H
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36'
\
-
H
'Content-Type: application/json;charset=UTF-8'
\
-
H
'Accept: application/json, text/plain, */*'
\
-
H
'Referer: http://localhost:8080/'
\
-
H
'sec-ch-ua-platform: "Windows"'
\
--
compressed
```
#### 响应实例
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
[
{
"baseUrl"
:
"http://api-pro.heyqiwu.cn:8070"
,
"typeMapPath"
:
{
"0"
:
"/api/chat"
,
"1"
:
"/api/cha2"
,
"2"
:
"/api/chat/xiaowu"
},
"serviceName"
:
"交游生产环境"
},
{
"baseUrl"
:
"http://api-pre.heyqiwu.cn:8070"
,
"typeMapPath"
:
{
"0"
:
"/api/chat"
,
"1"
:
"/api/cha2"
,
"2"
:
"/api/chat/xiaowu"
},
"serviceName"
:
"交游测试环境"
}
]
}
```
### 获取渠道信息
**METHOD**
: GET
**path**
: {baseUrl}api/channelInfo/channel baseUrl:服务器域名
**RequestHeaders:**
同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求body字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求示例
```
js
curl
'http://localhost:8080/undefined/api/channelInfo/channel'
\
-
H
'Accept: application/json, text/plain, */*'
\
-
H
'Accept-Language: zh-CN,zh;q=0.9'
\
-
H
'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFM05UVXpOamtzSW1WNGNDSTZNVGN3TVRjMk1qVTJPU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLkd1V2J2dTdCc3lEWC1SMkFaaEc4Q1hpUndkMWpJRFNMWmNKUlFUSkxsakk6czAwcGVyczNjcmV0'
\
-
H
'Connection: keep-alive'
\
-
H
'Cookie: username=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F%20%20%20; nickname=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F; authority=1; icon=#; platform_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDE3NTUzNjksImV4cCI6MTcwMTc2MjU2OSwiYXV0aG9yaXR5IjoxLCJpZCI6MjI0fQ.GuWbvu7BsyDX-R2AZhG8CXiRwd1jIDSLZcJRQTJLljI'
\
-
H
'Referer: http://localhost:8080/'
\
-
H
'Sec-Fetch-Dest: empty'
\
-
H
'Sec-Fetch-Mode: cors'
\
-
H
'Sec-Fetch-Site: same-origin'
\
-
H
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36'
\
-
H
'sec-ch-ua: "Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"'
\
-
H
'sec-ch-ua-mobile: ?0'
\
-
H
'sec-ch-ua-platform: "Windows"'
\
--
compressed
```
#### 响应实例
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
[
{
"channelName"
:
"交游天下电视(测试C)"
,
"type"
:
0
,
"channelId"
:
"jiaoyouC-tv-api-test"
},
{
"channelName"
:
"三基v2手表"
,
"type"
:
0
,
"channelId"
:
"sgtcv2-watch-sdk-pro"
},
{
"channelName"
:
"天猫精灵音箱(晓悟智能小说)"
,
"type"
:
1
,
"channelId"
:
"tianmao-jiaoyou-audio-adult-test"
}
]
}
```
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