123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- "bp.jydev.jianyu360.cn/SocialPlatform/messageCenter/api/messagecenter/internal/svc"
- "github.com/zeromicro/go-zero/rest"
- )
- func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
- server.AddRoutes(
- []rest.Route{
- {
- Method: http.MethodPost,
- Path: "/message/messageCount",
- Handler: messageCountHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/messageAdd",
- Handler: messageAddHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/findMessage",
- Handler: findMessageHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/userList",
- Handler: userListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/createChatSession",
- Handler: createChatSessionHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/closeChatSession",
- Handler: closeChatSessionHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/obtainShunt",
- Handler: obtainShuntHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/updateReadById",
- Handler: updateReadByIdHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/chatGroupList",
- Handler: chatGroupListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/chatGroupAdd",
- Handler: chatGroupAddHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/chatGroupPerson",
- Handler: chatGroupPersonHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/chatGroupJoin",
- Handler: chatGroupJoinHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/groupNameUpdate",
- Handler: groupNameUpdateHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/groupNoticeAdd",
- Handler: groupNoticeAddHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/groupNoticeUpdate",
- Handler: groupNoticeUpdateHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/groupNoticeGet",
- Handler: groupNoticeGetHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/withdrawMessage",
- Handler: withdrawMessageHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/appraiseMessage",
- Handler: AppraiseMessageHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/message/conversationList",
- Handler: ConversationListHandler(serverCtx),
- },
- },
- )
- }
|