...
|
...
|
@@ -36,45 +36,48 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { |
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_comment",
|
|
|
Handler: comment.MiniCreateArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_comment/list",
|
|
|
Handler: comment.MiniListArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_comment/top5",
|
|
|
Handler: comment.MiniTop5ArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/article_comment/:id",
|
|
|
Handler: comment.MiniGetArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodDelete,
|
|
|
Path: "/article_comment/:id",
|
|
|
Handler: comment.MiniDeleteArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_comment/at_who/list",
|
|
|
Handler: comment.MiniArticleCommentAtWhoHandler(serverCtx),
|
|
|
},
|
|
|
},
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_comment",
|
|
|
Handler: comment.MiniCreateArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_comment/list",
|
|
|
Handler: comment.MiniListArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_comment/top5",
|
|
|
Handler: comment.MiniTop5ArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/article_comment/:id",
|
|
|
Handler: comment.MiniGetArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodDelete,
|
|
|
Path: "/article_comment/:id",
|
|
|
Handler: comment.MiniDeleteArticleCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_comment/at_who/list",
|
|
|
Handler: comment.MiniArticleCommentAtWhoHandler(serverCtx),
|
|
|
},
|
|
|
}...,
|
|
|
),
|
|
|
rest.WithJwt(serverCtx.Config.MiniAuth.AccessSecret),
|
|
|
rest.WithPrefix("/v1/mini"),
|
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck},
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck, serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
...
|
...
|
@@ -113,30 +116,33 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { |
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/message/system",
|
|
|
Handler: message.MiniSystemHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/message/comment",
|
|
|
Handler: message.MiniCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/message/like",
|
|
|
Handler: message.MiniLikeHandler(serverCtx),
|
|
|
},
|
|
|
},
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/message/system",
|
|
|
Handler: message.MiniSystemHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/message/comment",
|
|
|
Handler: message.MiniCommentHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/message/like",
|
|
|
Handler: message.MiniLikeHandler(serverCtx),
|
|
|
},
|
|
|
}...,
|
|
|
),
|
|
|
rest.WithJwt(serverCtx.Config.MiniAuth.AccessSecret),
|
|
|
rest.WithPrefix("/v1"),
|
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck},
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck, serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
...
|
...
|
@@ -191,90 +197,93 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { |
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/switch_account",
|
|
|
Handler: user.MiniUserSwitchAccountHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/info",
|
|
|
Handler: user.MiniUserInfoHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/statistics",
|
|
|
Handler: user.MiniUserStatisticsHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/audit_list",
|
|
|
Handler: user.MiniUserAuditListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/audit",
|
|
|
Handler: user.MiniUserAuditHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/department_users",
|
|
|
Handler: user.MiniUserDepartmentUsersHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/user_list",
|
|
|
Handler: user.MiniUsersListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/news",
|
|
|
Handler: user.MiniUserNewsHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/follower",
|
|
|
Handler: user.MiniUserFollowerHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/following",
|
|
|
Handler: user.MiniUserFollowingHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/following/latest_unread_list",
|
|
|
Handler: user.MiniUserFollowingLatestUnreadListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/following/mark_read",
|
|
|
Handler: user.MiniUserFollowingMarkReadHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/follow",
|
|
|
Handler: user.MiniUserFollowHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/unfollow",
|
|
|
Handler: user.MiniUserUnFollowHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/mylike",
|
|
|
Handler: user.MiniMyLikeHandler(serverCtx),
|
|
|
},
|
|
|
},
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/switch_account",
|
|
|
Handler: user.MiniUserSwitchAccountHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/info",
|
|
|
Handler: user.MiniUserInfoHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/statistics",
|
|
|
Handler: user.MiniUserStatisticsHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/audit_list",
|
|
|
Handler: user.MiniUserAuditListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/audit",
|
|
|
Handler: user.MiniUserAuditHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/department_users",
|
|
|
Handler: user.MiniUserDepartmentUsersHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/user_list",
|
|
|
Handler: user.MiniUsersListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/news",
|
|
|
Handler: user.MiniUserNewsHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/follower",
|
|
|
Handler: user.MiniUserFollowerHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/following",
|
|
|
Handler: user.MiniUserFollowingHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/following/latest_unread_list",
|
|
|
Handler: user.MiniUserFollowingLatestUnreadListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/following/mark_read",
|
|
|
Handler: user.MiniUserFollowingMarkReadHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/follow",
|
|
|
Handler: user.MiniUserFollowHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/unfollow",
|
|
|
Handler: user.MiniUserUnFollowHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/user/mylike",
|
|
|
Handler: user.MiniMyLikeHandler(serverCtx),
|
|
|
},
|
|
|
}...,
|
|
|
),
|
|
|
rest.WithJwt(serverCtx.Config.MiniAuth.AccessSecret),
|
|
|
rest.WithPrefix("/v1"),
|
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck},
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck, serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
...
|
...
|
@@ -338,31 +347,37 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { |
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/company/search",
|
|
|
Handler: company.MiniCompanySearchHandler(serverCtx),
|
|
|
},
|
|
|
},
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/company/search",
|
|
|
Handler: company.MiniCompanySearchHandler(serverCtx),
|
|
|
},
|
|
|
}...,
|
|
|
),
|
|
|
rest.WithPrefix("/v1"),
|
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/company/search-joined",
|
|
|
Handler: company.MiniCompanySearchJoinedHandler(serverCtx),
|
|
|
},
|
|
|
},
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/mini/company/search-joined",
|
|
|
Handler: company.MiniCompanySearchJoinedHandler(serverCtx),
|
|
|
},
|
|
|
}...,
|
|
|
),
|
|
|
rest.WithJwt(serverCtx.Config.MiniAuth.AccessSecret),
|
|
|
rest.WithPrefix("/v1"),
|
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck},
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck, serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
...
|
...
|
@@ -381,100 +396,103 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { |
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article",
|
|
|
Handler: article.MiniCreateArticleHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/article/:id",
|
|
|
Handler: article.MiniGetArticleHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/user_like/list",
|
|
|
Handler: article.MiniUserLikeArticleHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/user_like/set",
|
|
|
Handler: article.MiniSetUserLikeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/mark/user_read",
|
|
|
Handler: article.MiniArticleMarkUserReadHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/mark/list",
|
|
|
Handler: article.MiniArticleMarkListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/search/me",
|
|
|
Handler: article.MiniArticleSearchMeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_draft",
|
|
|
Handler: article.MiniCreateArticleDraftHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPut,
|
|
|
Path: "/article_draft",
|
|
|
Handler: article.MiniUpdateArticleDraftHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_draft/search/me",
|
|
|
Handler: article.MiniSearchArticleDraftMeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/article_draft/me/:id",
|
|
|
Handler: article.MiniGetArticleDraftMeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodDelete,
|
|
|
Path: "/article_draft/me/:id",
|
|
|
Handler: article.MiniDeleteArticleDraftMeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_backup/search",
|
|
|
Handler: article.MiniArticleBackupSearchHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/set_tag",
|
|
|
Handler: article.MiniArticleSetTagHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/article_tag/list/all",
|
|
|
Handler: article.MiniAllArticleTagHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/show/home_page",
|
|
|
Handler: article.MiniShowHomePageHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/show/search_article",
|
|
|
Handler: article.MiniSearchArticlePageHandler(serverCtx),
|
|
|
},
|
|
|
},
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article",
|
|
|
Handler: article.MiniCreateArticleHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/article/:id",
|
|
|
Handler: article.MiniGetArticleHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/user_like/list",
|
|
|
Handler: article.MiniUserLikeArticleHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/user_like/set",
|
|
|
Handler: article.MiniSetUserLikeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/mark/user_read",
|
|
|
Handler: article.MiniArticleMarkUserReadHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/mark/list",
|
|
|
Handler: article.MiniArticleMarkListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/search/me",
|
|
|
Handler: article.MiniArticleSearchMeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_draft",
|
|
|
Handler: article.MiniCreateArticleDraftHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPut,
|
|
|
Path: "/article_draft",
|
|
|
Handler: article.MiniUpdateArticleDraftHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_draft/search/me",
|
|
|
Handler: article.MiniSearchArticleDraftMeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/article_draft/me/:id",
|
|
|
Handler: article.MiniGetArticleDraftMeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodDelete,
|
|
|
Path: "/article_draft/me/:id",
|
|
|
Handler: article.MiniDeleteArticleDraftMeHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article_backup/search",
|
|
|
Handler: article.MiniArticleBackupSearchHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/article/set_tag",
|
|
|
Handler: article.MiniArticleSetTagHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/article_tag/list/all",
|
|
|
Handler: article.MiniAllArticleTagHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
Path: "/show/home_page",
|
|
|
Handler: article.MiniShowHomePageHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/show/search_article",
|
|
|
Handler: article.MiniSearchArticlePageHandler(serverCtx),
|
|
|
},
|
|
|
}...,
|
|
|
),
|
|
|
rest.WithJwt(serverCtx.Config.MiniAuth.AccessSecret),
|
|
|
rest.WithPrefix("/v1/mini"),
|
|
|
)
|
|
|
|
|
|
server.AddRoutes(
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck},
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck, serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodGet,
|
...
|
...
|
@@ -519,7 +537,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { |
|
|
|
|
|
server.AddRoutes(
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck},
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck, serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodGet,
|
...
|
...
|
@@ -554,7 +572,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { |
|
|
|
|
|
server.AddRoutes(
|
|
|
rest.WithMiddlewares(
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck},
|
|
|
[]rest.Middleware{serverCtx.LoginStatusCheck, serverCtx.LogRequest},
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
...
|
...
|
|