RunCode.go 433 B

123456789101112131415
  1. package routers
  2. import (
  3. "Yunlot/controllers"
  4. beego "github.com/beego/beego/v2/server/web"
  5. )
  6. func init() {
  7. // 日志
  8. //beego.Router("/RunCode/Languages", &controllers.RuncodeController{}, "*:Languages") // 获取未读消息
  9. beego.Router("/RunCode/Run", &controllers.RuncodeController{}, "*:Run") // 获取未读消息
  10. beego.Router("/RunCode/Build", &controllers.RuncodeController{}, "*:Build") // 获取未读消息
  11. }