1234567891011121314 |
- package routers
- import (
- "Yunlot/controllers"
- beego "github.com/beego/beego/v2/server/web"
- )
- func init() {
- beego.Router("/", &controllers.MainController{})
- //----------- 配置图片
- beego.Router("/UpFile/Token", &controllers.UpFileController{}, "*:UpFileToken") // *全部; get,post:
- }
|