mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:30:56 +00:00
commit
4ad699b7b8
@ -500,7 +500,7 @@ func genRouterCode(pkgRealpath string) {
|
|||||||
beego.GlobalControllerRouter["` + k + `"] = append(beego.GlobalControllerRouter["` + k + `"],
|
beego.GlobalControllerRouter["` + k + `"] = append(beego.GlobalControllerRouter["` + k + `"],
|
||||||
beego.ControllerComments{
|
beego.ControllerComments{
|
||||||
Method: "` + strings.TrimSpace(c.Method) + `",
|
Method: "` + strings.TrimSpace(c.Method) + `",
|
||||||
` + "Router: `" + c.Router + "`" + `,
|
` + `Router: "` + c.Router + `"` + `,
|
||||||
AllowHTTPMethods: ` + allmethod + `,
|
AllowHTTPMethods: ` + allmethod + `,
|
||||||
MethodParams: ` + methodParams + `,
|
MethodParams: ` + methodParams + `,
|
||||||
Filters: ` + filters + `,
|
Filters: ` + filters + `,
|
||||||
|
Loading…
Reference in New Issue
Block a user