router.go 546 字节
package routers

import (
	"gitlab.fjmaimaimai.com/mmm-go/ab/controllers"
	"github.com/astaxie/beego"
)

func init() {
    //beego.Router("/", &controllers.MainController{})
	beego.Router("/*", &controllers.ABController{},"Post:Compare")

	{
		history :=&controllers.HistoryController{}
		beego.Router("/history/successList",history,"post:SuccessList")
		beego.Router("/history/getRequest",history,"post:GetRequest")
		beego.Router("/history/retry",history,"post:Retry")
		beego.Router("/history/deleteHistory",history,"post:DeleteHistory")
	}
}