123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- "bp.jydev.jianyu360.cn/BaseService/userCenter/api/internal/svc"
- "github.com/zeromicro/go-zero/rest"
- )
- func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
- server.AddRoutes(
- []rest.Route{
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/examine",
- Handler: ExamineHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/check",
- Handler: CheckEntHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/auth",
- Handler: EntAuthHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/list",
- Handler: EntListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/examineList",
- Handler: ExamineListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/info",
- Handler: EntInfoHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/examineInfo",
- Handler: ExamineInfoHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/update",
- Handler: UpdateEntHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/getStatusByCode",
- Handler: GetStatusByCodeHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/workDesktop/menuInfo",
- Handler: WorkDesktopMenuInfoHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/workDesktop/renew/:actionMode",
- Handler: WorkDesktopComprehensiveHandler(serverCtx),
- },
- {
- Method: http.MethodGet,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/workDesktop/clearUserInfo",
- Handler: WorkDesktopClearUserInfoHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/user/getUserInfo",
- Handler: GetUserInfoHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/ent/userInfo",
- Handler: GetEntUserInfoHandler(serverCtx),
- },
- },
- )
- server.AddRoutes(
- []rest.Route{
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/user/add",
- Handler: UserAddHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/user/updateById",
- Handler: UserUpdateHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bp.jydev.jianyu360.cn/BaseService/userCenter/user/deleteById",
- Handler: UserDelHandler(serverCtx),
- },
- },
- rest.WithJwt(serverCtx.Config.Auth.AccessSecret),
- )
- }
|