organization

This commit is contained in:
skiffer-git
2022-04-18 17:25:54 +08:00
committed by Xinwei Xiong(cubxxw-openim)
parent 35d4ea7cce
commit 9d999c4067
8 changed files with 426 additions and 358 deletions
+2 -2
View File
@@ -398,8 +398,8 @@ func GetDepartmentMember(c *gin.Context) {
return
}
apiResp := api.GetDepartmentMemberResp{CommResp: api.CommResp{ErrCode: RpcResp.ErrCode, ErrMsg: RpcResp.ErrMsg}, UserInDepartmentList: RpcResp.UserInDepartmentList}
apiResp.Data = jsonData.JsonDataList(RpcResp.UserInDepartmentList)
apiResp := api.GetDepartmentMemberResp{CommResp: api.CommResp{ErrCode: RpcResp.ErrCode, ErrMsg: RpcResp.ErrMsg}, UserInDepartmentList: RpcResp.UserDepartmentMemberList}
apiResp.Data = jsonData.JsonDataList(RpcResp.UserDepartmentMemberList)
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "api return ", apiResp)
c.JSON(http.StatusOK, apiResp)
}