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
af804455
Commit
af804455
authored
Dec 14, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
54a0f524
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
96 additions
and
0 deletions
+96
-0
作品完成回调成就系统.md
app_doc/作品完成回调成就系统.md
+33
-0
获取渠道作品npc信息.md
app_doc/获取渠道作品npc信息.md
+63
-0
No files found.
app_doc/作品完成回调成就系统.md
0 → 100644
View file @
af804455
#### 作品完成回调成就系统
#### 作品完成回调成就系统
URL: {作品完成回调成就系统地址}
METHOD: POST
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
RequestBody:
```
json
{
"uid"
:
"test123"
,
//
用户ID
"pay"
:
false
,
//
是否付费
"workName"
:
"童话世界漫游记"
,
//
作品名
"channelId"
:
"xtcv1-watch-sdk-pro"
//
渠道ID
}
```
ResponseBody:
```
json
SUCCESS
:
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
null
}
```
\ No newline at end of file
app_doc/获取渠道作品npc信息.md
0 → 100644
View file @
af804455
### 获取渠道作品npc信息
### 获取渠道作品npc信息
URL: {BaseUrl}/api/work/npc/info/all
METHOD: GET
Headers:
| key | description |
| :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 |
| App-Channel-Id | 渠道ID |
ResponseBody:
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
[
{
"workName"
:
"经纪人"
,
//
作品名称
"npcInfos"
:
[
{
"name"
:
"演唱会导演"
,
//
角色名称
"personZhName"
:
"微软晓睿(女老年)"
,
//
声音的中文名称
"personEnName"
:
"Microsoft6_offline"
,
//
声音的英文文名称
"gender"
:
"女"
,
//
性别
女|男|未知
"mood"
:
"正常"
//
情绪
},
{
"name"
:
"歌手"
,
"personZhName"
:
"微软晓睿(女老年)"
,
"personEnName"
:
"Microsoft6_offline"
,
"gender"
:
"女"
,
"mood"
:
"正常"
}
]
}
]
}
```
RequestExample
```
# 分发调用
curl --location --request POST 'http://api-pre.heyqiwu.cn:18082/api/dispatch' \
--header 'App-Channel-Id: huaweimatepad-others-sdk-test' \
--header 'Content-Type: application/json' \
--data-raw '{
"path":"/api/work/npc/info/all",
"method":"GET",
"params":"{}",
"body":""
}'
# 原始调用
curl --location --request GET 'http://api-pre.heyqiwu.cn:18082/api/work/npc/info/all' \
--header 'App-Channel-Id: huaweimatepad-others-sdk-test'
```
\ No newline at end of file
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