审查视图

pkg/port/beego/routers/logger.go 367 字节
庄敏学 authored
1 2 3 4 5 6 7 8 9 10
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")
tangxvhui authored
11
	//
tangxvhui authored
12 13 14 15
	// web.Get("/test1", func(ctx *context.Context) {
	// 	s := redis.RunDemoScript()
	// 	ctx.WriteString(s)
	// })
庄敏学 authored
16
}