1
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# WPS365 获取文件列表 - 测试说明
|
||||
|
||||
## 关于接口与文档
|
||||
|
||||
- **用户信息接口**:官方文档(open.wps.cn 用户授权流程)只写“通过 access_token 获取用户信息”,**未给出具体 URL**。项目中曾用 `/api/v1/user/info`,该地址会 404。已改为依次尝试 `v7/user`、`v7/userinfo`、`userinfo`、`user/info`;若均不可用则**降级返回**(不报 500,返回 token 中的 user_id 与占位信息)。若需完整用户信息,请以 [WPS 开放平台文档](https://open.wps.cn/documents) 为准确认正确路径后再改。
|
||||
- 其他 WPS 接口(文件列表、KSheet 等)请以 open.wps.cn 对应文档为准,发现路径不一致时以文档为准修改。
|
||||
|
||||
## 接口说明
|
||||
|
||||
- **后端接口**:`GET /jarvis/wps365/files`
|
||||
|
||||
Reference in New Issue
Block a user