package routers import ( beego "github.com/beego/beego/v2/server/web" "github.com/beego/beego/v2/server/web/context/param" ) func init() { beego.GlobalControllerRouter["eta/eta_crawler/controllers:ResourceController"] = append(beego.GlobalControllerRouter["eta/eta_crawler/controllers:ResourceController"], beego.ControllerComments{ Method: "ResourceUpload", Router: `/resource/upload`, AllowHTTPMethods: []string{"post"}, MethodParams: param.Make(), Filters: nil, Params: nil}) }