瀏覽代碼

fix:添加请求方法

xmy 3 年之前
父節點
當前提交
b5e4d136c7
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      api/internal/handler/routes.go

+ 5 - 0
api/internal/handler/routes.go

@@ -87,6 +87,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
 				Path:    "/jyinfo/manage/infoDetail",
 				Handler: infoDetailHandler(serverCtx),
 			},
+			{
+				Method:  http.MethodPost,
+				Path:    "/jyinfo/manage/infoDetail",
+				Handler: infoDetailHandler(serverCtx),
+			},
 			{
 				Method:  http.MethodPost,
 				Path:    "/jyinfo/manage/infoExamine",