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
songyinting
jiaoyou_doc
Commits
815adbda
Commit
815adbda
authored
Nov 12, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加付费图片连接
parent
3b96c4e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
15 deletions
+84
-15
center_control_api.md
app_doc/center_control_api.md
+33
-15
series_pay.md
app_doc/series_pay.md
+51
-0
No files found.
app_doc/center_control_api.md
View file @
815adbda
...
@@ -92,21 +92,39 @@ code: 50001 作品不存在
...
@@ -92,21 +92,39 @@ code: 50001 作品不存在
10007: 显示收藏失败
10007: 显示收藏失败
10008: 显示三个功能按钮
10008: 显示三个功能按钮
10009: 控制点付费
10009: 控制点付费
{
{
"aipioneerUsername": "281647119",
"aipioneerUsername": "gz33botchangweibatuzi1022586309625",
"botStatus": "chat",
"asr": "yunzs",
"code": 1,
"bgmUrl": "",
"data": {
"botStatus": "chat",
"controlNodePay": {
"code": 1,
"controlId": "kongzhidian12",
"data": {
"price": 4.0,
"controlNodePay": {
"description": "第一把妖刀"
"controlId": "changweiba1", // 控制点ID
}
"description": "解锁后续全部章节,请爸爸妈妈扫码支付,和大耳朵狐狸一起踏上寻找勇气与智慧的旅程吧!", // 付费描述
},
"imgUrl": "http://image.heyqiwu.cn/media/mp-asst/img/271a24884fdf70a7f16be62edac163c5.png", // 付费图片
"dialogList": [],
"price": 0.01 // 付费金额 ¥
"pageStatus": 3,
}
"responseType": 10009
},
}
"dialogList": [],
"expire": 180000,
"extraChatKey": "tongyong-phone-mobileapp-test1617fbbe8a02e9100010893c0@@@gz33botchangweibatuzi1022586309625@@@@bVUBgGcLqvMk3qN3S4fE",
"logs": [
null
],
"mainChatKey": "tongyong-phone-mobileapp-test1617fbbe8a02e9100010893c0@@@gz25botshoubiaozhongkong040272427378@@@@Anx1UVbV4DQqybO2ggR0",
"pageStatus": 3,
"plotImgUrl": "",
"responseType": 10009,
"showedWorkName": "长尾巴兔子",
"supplierDetail": {
"model": "susie-asr-8k",
"url": "asr.cloudv2.voiceaitech.com:30031"
},
"title": "长尾巴兔子",
"workStoryInfos": [],
"workType": 1
}
支付成功前端发送:收费成功☛{controlId}☚
支付成功前端发送:收费成功☛{controlId}☚
支付失败前端发送:收费失败☛{controlId}☚
支付失败前端发送:收费失败☛{controlId}☚
100091: 设置的付费卡用的
100091: 设置的付费卡用的
...
...
app_doc/series_pay.md
View file @
815adbda
...
@@ -39,4 +39,54 @@ FAILTURE:
...
@@ -39,4 +39,54 @@ FAILTURE:
"msg": "用户认证失败",
"msg": "用户认证失败",
"data": null
"data": null
}
}
```
#### 获取系列付费的配置
URL: {BaseUrl}/api/series/pay/config?seriesName={系列名称}
METHOD: GET
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=UTF-8 |
| App-Channel-Id | 渠道 |
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": {
"imgUrl": "http://image.heyqiwu.cn/media/mp-asst/img/64e22de64a85e9fded97e6b248746944.png", // 系列付费的图片
"seriesName": "历史名人" // 系列付费名称
}
}
FAILTURE:
{
"code": 10002,
"msg": "渠道ID不能为空!",
"data": null
}
{
"code": 10002,
"msg": "系列名称为空!",
"data": null
}
{
"code": 50002,
"msg": "配置错误或者未配置,请联系管理员!",
"data": null
}
```
Example:
```
curl --location --request GET 'http://api-pre.heyqiwu.cn:18082/api/series/pay/config?seriesName=%E5%8E%86%E5%8F%B2%E5%90%8D%E4%BA%BA' \
--header 'App-Channel-Id: tongyong-phone-mobileapp-test1'
```
```
\ 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