openimsdk / openim-docker

openim-docker configuration for deploying OpenIM. Provides a build solution for a stable distribution, as well as a docker compose deployment strategy
https://openim.io
Apache License 2.0
43 stars 55 forks source link

[DOC]: 关于加入群组接口,提示参数错误 #193

Open ylx19931228 opened 2 hours ago

ylx19931228 commented 2 hours ago

https://docs.openim.io/zh-Hans/restapi/apis/groupManagement/joinGroup

加入群组,请求参数如下 {"groupID":"1","inviterUserID":"490","joinSource":1}

im服务器提示 异常code:1001,异常信息:ArgsError

OpenIM-Robot commented 2 hours ago

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

ylx19931228 commented 1 hour ago

<{"groupID":"1","inviterUserID":"490","joinSource":1,"reqMessage":"111"},[operationID:"2024-10-11 10:26:54", token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiJpbUFkbWluIiwiUGxhdGZvcm1JRCI6MSwiZXhwIjoxNzM2MTMyMzkwLCJuYmYiOjE3MjgzNTYwOTAsImlhdCI6MTcyODM1NjM5MH0.TiBPN0zhOGkenAbyN3ywKvyz4V9mFm3t2T-hoF_h9Sw"]>

完整请求参数[]内为header请求头参数.

上面请求没有带,加入信息.这个是带了加入信息的请求