update
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
- TOKEN: xxxxxxxxxxxxxxx
|
||||
- EncodingAESKey: xxxxxxxxxxxxxxx
|
||||
|
||||
|
||||
|
||||
### 1. 获取`signature`接口:
|
||||
|
||||
`https://chatbot.weixin.qq.com/openapi/sign/{TOKEN}`
|
||||
@@ -15,12 +13,8 @@
|
||||
signature: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImp0aSI6IjI2NTQ0NzYzLTk1NzctNDZlNS1iOTFlLTA3NjAyMzhiMjUwNSIsImlhdCI6MTU4NjA5Nzc4MSwiZXhwIjoxNTg2MTAxMzgxfQ.qugHipCyBnONQRGY2fadm1LH-bLi0TrVqam3vZTpRcI
|
||||
expiresIn: 7200
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
> signature 也可以在本地通过jwt签名得到
|
||||
|
||||
```
|
||||
@@ -36,14 +30,10 @@ const signature = jwt.encode(
|
||||
);
|
||||
```
|
||||
|
||||
|
||||
|
||||
### 2. 智能对话接口:
|
||||
|
||||
`https://chatbot.weixin.qq.com/openapi/aibot/{TOKEN}`
|
||||
|
||||
|
||||
|
||||
| 字段 | 类型 | 是否必填 | 描述 |
|
||||
| --------- | ------ | ---- | --------------------- |
|
||||
| signature | string | 是 | 上一步获取到的 signature 返回值 |
|
||||
|
||||
Reference in New Issue
Block a user