beego开发文档-03121629Get("/notallowed", func(ctx *context.Context) { ctx.Output.Body([]byte("notAllowed")) }). Router("/version", &AdminController{}, "get:ShowAPIVersion"). Router("/changepassword", &UserController{}). ctx.Output.Body([]byte("notAllowed")) })) 上面这个代码支持了如下这样的请求URL GET /v1/notallowed GET /v1/version GET /v1/changepassword POST /v1/changepassword GET /v1/shop/123 而且还支持前置过滤,条件判断,无限嵌套namespace base on beego framework bale packs non-Go files to Go source files version show the bee & beego version generate source code generator migrate run database migrations 11 魔豆 | 248 页 | 2.61 MB | 3 年前3
MongoDB简明教程Ken@localhost:~$ mongo MongoDB shell version: 3.2.0 connecting to: test 连接远程mongo库 Ken@gaosongdeMacBook-Pro:~$ mongo 112.126.XX.XXX:27017 MongoDB shell version: 3.2.0 connecting to: 112.126.XX.XXX:27017/test1 魔豆 | 16 页 | 429.00 KB | 3 年前3
共 2 条
- 1










