审查视图

pkg/port/beego/routers/logger.go 249 字节
庄敏学 authored
1 2 3 4 5 6 7 8 9 10 11
package routers

import (
	"github.com/beego/beego/v2/server/web"
	"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/port/beego/controllers"
)

func init() {
	//日志输出
	web.Router("/log", &controllers.LoggerController{}, "Get:Output")
}