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
jixudong
jiaoyou_doc
Commits
b4f95cd7
Commit
b4f95cd7
authored
Nov 06, 2023
by
realcaiyizhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充控制点接口
parent
ecc10bfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
9 deletions
+20
-9
chatruntime接口.md
chat_server/chatruntime接口.md
+20
-9
No files found.
chat_server/chatruntime接口.md
View file @
b4f95cd7
[
TOC
]
[
TOC
]
...
...
@@ -1224,13 +1224,13 @@ RequestHeaders:
```
json
curl
--location
'http
:
//
10.0
.
7.5
:
8081
/api/controlNodePay/check'
\
--header
'Content-Type
:
application/json
;charset=utf
-8
'
\
--header
'Content-Type
:
application/json'
\
--data
'
{
"channelId"
:
"hwzcnanyouxiaomi-phone-sdk-pro
"
,
"userId"
:
"123123"
,
"controlId"
:
"wodenver
1"
,
"botAccount"
:
"txgz12botwoshinvernu1102586868845
"
,
"botName"
:
"我是女儿奴
"
"channelId"
:
"aianimexnny-phone-sdk-test
"
,
"userId"
:
"123123"
,
"controlId"
:
"xdyc
1"
,
"botAccount"
:
"txgz12botxindongyisha651523980
"
,
"botName"
:
"跨越时空的爱恋
"
}
'
```
...
...
@@ -1242,14 +1242,25 @@ curl --location 'http://10.0.7.5:8081/api/controlNodePay/check' \
| ---- | ------ | -------------------- |
| code | int | 只要不出错,固定1 |
| msg | string | 只要不出错,固定成功 |
| data | object | null |
| data | object | |
data的结构,同配置中心的控制点配置
| key | type | description |
| ----------- | ------ | ------------------------------ |
| imgUrl | string | 付费图片 |
| price | float | 付费价格 |
| description | string | 控制点描述 |
| controlId | string | 控制点id |
| type | int | 0:付费,1:广告 |
| payStatus | int | 付费状态,0:未付费,1:已付费 |
### 响应实例
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:{
"imgUrl"
:
""
,
"price"
:
0.01
,
"description"
:
"遗迹内会藏着什么宝藏呢?快来探索吧!只需扫码付费就能继续体验后续精彩剧情。"
,
"controlId"
:
"xdyc1"
,
"type"
:
0
,
"payStatus"
:
0
}}
```
...
...
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