Quellcode durchsuchen

router generate

Roc vor 1 Monat
Ursprung
Commit
e2374fce51
1 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
  1. 9 0
      routers/commentsRouter.go

+ 9 - 0
routers/commentsRouter.go

@@ -5398,6 +5398,15 @@ func init() {
             Filters: nil,
             Params: nil})
 
+    beego.GlobalControllerRouter["eta/eta_mobile/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mobile/controllers:ReportController"],
+        beego.ControllerComments{
+            Method: "CancelPublishReportChapter",
+            Router: `/chapter/publish/cancel`,
+            AllowHTTPMethods: []string{"post"},
+            MethodParams: param.Make(),
+            Filters: nil,
+            Params: nil})
+
     beego.GlobalControllerRouter["eta/eta_mobile/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mobile/controllers:ReportController"],
         beego.ControllerComments{
             Method: "EditChapterTitle",