12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- // 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),
- },
- },
- )
- }
|