This commit is contained in:
richboo111
2023-04-27 17:28:59 +08:00
parent e06990f2b5
commit 2b7bfe4e5e

View File

@@ -59,9 +59,9 @@ func (c *IMController) StartWebSocket() {
// @Param payLoad formData string true "平台应用映射关系"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetIMUserList [get]
func (c *IMController) GetIMUserList() {
c.callGetIMUserList(func(params *tImGetIMUserListParams) (retVal interface{}, errCode string, err error) {
// @router /GetImUserList [get]
func (c *IMController) GetImUserList() {
c.callGetImUserList(func(params *tImGetImUserListParams) (retVal interface{}, errCode string, err error) {
var relInfo []im.RelInfo
if err = json.Unmarshal([]byte(params.PayLoad), &relInfo); err == nil {
retVal, err = im.GetImUserList(relInfo)