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
1548c3a7
Commit
1548c3a7
authored
May 31, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新文档
parent
c88a9a07
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
0 deletions
+53
-0
外部服务更新BOT词组.md
dyna_data/外部服务更新BOT词组.md
+53
-0
No files found.
dyna_data/外部服务更新BOT词组.md
0 → 100644
View file @
1548c3a7
-
BaseUrl
-
BaseUrl
-
测试环境: http://hw-gz24.heyqiwu.cn:8082
#### 外部服务更新BOT词组
URL: {BaseUrl}/out/phrase
METHOD: PUT
RequestHeaders:
| key | description |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Timestamp | 请求时的时间戳,毫秒级 |
| Authorization | 签名, 将 appSecret+":"+timestamp 字符串md5提取摘要 |
RequestBody:
```
json
{
"workName"
:
"秘密花园"
,
//
作品名称
"phraseName"
:
"小动物"
,
//
词组名称
"phraseContent"
:
"小狗+小猫+小鸟"
//
词组内容
}
```
ResponseBody:
```
json
{
"code"
:
1
,
//
1
:
表示成功,
其他表示失败
"msg"
:
"成功"
,
//
提示信息
"data"
:
null
}
```
Example
```
curl --location --request PUT 'http://hw-gz24.heyqiwu.cn:8082/out/phrase' \
--header 'Timestamp: 1653987711780' \
--header 'Authorization: 64c24faf2a43cadea528bf1d86ef1771' \
--header 'Content-Type: application/json' \
--data-raw '{
"workName":"秘密花园",
"phraseName":"小动物",
"phraseContent":"小狗+小猫+小鸟"
}'
```
\ 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