chat room blacklist issue

alvin 4月前 356

I've used this API /admin/chatroom/set_black_status to mute some members in the chatroom however it seems dosen't work. This is my request and response data: {"chatroomId":"sygqmws2k","userId":"2hgqmws2k","status":1} {"code":0,"msg":"success"}

I used this API /admin/chatroom/get_black_statusto get the information, the response was not it supposed to be: users still have a 0 status, and expiredTime is 9223372036854775807

最新回复 (5)
  • HeavyRain 4月前
    引用 2
    请把你们服务的api/version发给我看一下,我这边最新版本没有问题,我确认一下你用的版本
  • alvin 4月前
    引用 3
    "nodeIds":"1 2 “
    "commitTime":20231023174050"
    是这个信息不
  • HeavyRain 4月前
    引用 4
    原因找到了,我们研发在开发过程中status和state没有明确,这个返回的数据结构中,关于状态的字段为state,不是status。已经更新文档了,请取用state字段
  • HeavyRain 4月前
    引用 5
    如果你们服务是Java的,可以使用我们java的server sdk,说明 https://docs.wildfirechat.cn/server/sdk.html
  • alvin 4月前
    引用 6
    ok good
返回