Java development based on secondary development of personal micro group chat

Request URL:

  • http://域名地址/getGroupQrCode

Request method:

  • POST

Request headers:

  • Content-Type:application/json
  • Authorization: login interface returns

parameter:

parameter name required type illustrate
wId yes String Login instance ID
chatRoomId yes String Group number

Request parameter example

{
    "wId":"349be9b5-8734-45ce-811d-4e10ca568c67",
    "chatRoomId": "24187765053@chatroom"
}

Successful return example

{
    "message": "成功",
    "code": "1000",
    "data": {
        "imgUrl": "xxxxxx"
    }
}

Error return example

{
    "message": "失败",
    "code": "1001",
    "data": null
}

Return data:

parameter name type illustrate
code String 1000 success
1001 failure
msg String Feedback
data JSONObject

Test address: https://wkteam.cn/

 

Guess you like

Origin blog.csdn.net/2302_77913771/article/details/134690362