beego传统路由

beego.Router("/api/getbalance", &controllers.MainController{}, "post:GetBalance")// 传统路由
beego.Router("/api/consume", &controllers.MainController{}, "post:DealConsumeRecord")// 传统路由

你可能感兴趣的:(beego传统路由)