- 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":"小狗+小猫+小鸟" }' ```