definitions: models.ChatRoomListReq: properties: category: type: string name: type: string page: type: integer pageSize: type: integer type: object models.JoinChatroomParam: properties: roomId: type: string userId: type: string type: object models.LeaveChatroomParam: properties: roomId: type: string userId: type: string type: object models.MessageParam: properties: message: type: string messageType: type: string roomId: type: string userId: type: string type: object info: contact: {} license: {} paths: /api/chatroom/classification: get: consumes: - application/json description: 房间分类列表 produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 房间分类列表 tags: - 房间操作 /api/chatroom/detail: get: consumes: - application/json description: 获取房间详情 parameters: - description: 房间id in: query name: room_id required: true type: string produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 获取房间详情 tags: - 房间操作 /api/chatroom/join: post: consumes: - application/json description: 加入房间 parameters: - description: 加入房间请求body in: body name: body required: true schema: $ref: '#/definitions/models.JoinChatroomParam' type: object produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 加入房间 tags: - 房间管理 /api/chatroom/leave: post: consumes: - application/json description: 离开房间 parameters: - description: 离开房间请求body in: body name: body required: true schema: $ref: '#/definitions/models.LeaveChatroomParam' type: object produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 离开房间 tags: - 房间管理 /api/chatroom/list: post: consumes: - application/json description: 房间列表 parameters: - description: 房间请求列表body in: body name: body required: true schema: $ref: '#/definitions/models.ChatRoomListReq' type: object produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 房间列表 tags: - 房间操作 /api/chatroom/view: get: consumes: - application/json description: 进入直播间 parameters: - description: 房间id in: query name: room_id required: true type: string produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 进入直播间 tags: - 房间操作 /api/graphic/list: get: consumes: - application/json description: 图文列表 parameters: - description: 房间id in: query name: room_id required: true type: string produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 图文列表 tags: - 直播间图文 /api/message/send: post: consumes: - application/json description: 发送消息 parameters: - description: 发送请求body in: body name: body required: true schema: $ref: '#/definitions/models.MessageParam' type: object produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 发送消息 tags: - 消息管理 /api/message/timeline: get: description: 获取历史消息记录 parameters: - description: 用户id in: query name: userId type: string - description: 房间id in: query name: roomId required: true type: string - description: 当前页 in: query name: pageIndex required: true type: integer - description: 每页数量 in: query name: pageSize required: true type: integer produces: - application/json responses: "200": description: '{"code":200, "message":"success", "data":{}}' schema: type: string summary: 获取历史消息记录 tags: - 消息管理 /api/wx/share: get: consumes: - application/json description: 微信自定义分享 produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 分享 tags: - 用户操作 /wx/h5/login: get: consumes: - application/json description: 登录 produces: - application/json responses: "200": description: '{"code":200, "message":"success"}' schema: type: string summary: 登录 tags: - 用户操作 swagger: "2.0"