log_router.go 943 字节
package routers

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

func init() {
	web.Router("/data/logs/", &controllers.LogController{}, "Post:CreateLog")
	web.Router("/data/logs/:logId", &controllers.LogController{}, "Put:UpdateLog")
	web.Router("/data/logs/:logId", &controllers.LogController{}, "Get:GetLog")
	web.Router("/data/logs/:logId", &controllers.LogController{}, "Delete:RemoveLog")
	web.Router("/data/logs/", &controllers.LogController{}, "Get:ListLog")
	web.Router("/data/logs/search", &controllers.LogController{}, "Post:SearchLog")
	web.Router("/data/logs/table-operate-Log", &controllers.LogController{}, "Post:TableOperateLog")
	web.Router("/data/logs/verified-step-Log", &controllers.LogController{}, "Post:VerifiedStepLog")
	web.Router("/data/logs/query-set-log", &controllers.LogController{}, "Post:QuerySetLog")
}