log_router.go 1.0 KB
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")
	web.Router("/data/logs/formula-log", &controllers.LogController{}, "Post:FormulaLog")
}