码农笔录博客源码
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

18 rindas
741 B

pirms 6 gadiem
package routers
import (
"github.com/astaxie/beego"
"beeblog/controllers"
)
func init() {
beego.Router("/note/:id([0-9]+)", &controllers.NoteController{}, "get:Get")
pirms 6 gadiem
beego.Router("/note", &controllers.NoteController{}, "get:Note")
pirms 6 gadiem
beego.Router("/notecoll/save", &controllers.NoteController{}, "post:SaveNoteColl")
beego.Router("/notecoll/edit", &controllers.NoteController{}, "post:EditNoteColl")
pirms 6 gadiem
beego.Router("/note/save", &controllers.NoteController{}, "post:Save")
beego.Router("/note/edit/:id([0-9]+)", &controllers.NoteController{}, "post:Edit")
beego.Router("/note/del/:id([0-9]+)", &controllers.NoteController{}, "post:Delete")
beego.Router("/notecol/del/:id([0-9]+)", &controllers.NoteController{}, "post:DelNoteColl")
pirms 6 gadiem
}