`// GetOne ...
// @Title GetOne
// @Description get Auth by id
// @Param id path string true "The key for staticblock"
// @Success 200 {object} models.Auth
// @Failure 403 :id is empty
// @router /:id [get]
func (c *AuthController) GetOne() {
fmt.Printf("this is get one\n")
}`
用bee 命令生成的,
这是router
beego.Router("/auth", &controllers.AuthController{})
但是我用 get : localhost/auth/1匹配不上