package log

import (
	"github.com/gin-gonic/gin"
	v1 "log-server/api/v1"
)

type ComputerRouter struct {
}

func (e *ComputerRouter) InitComputerRouter(Router *gin.RouterGroup) {
	computerRouter := Router.Group("computer")
	computerApi := v1.ApiGroupApp.LogApiGroup.ApiComputer
	{
		computerRouter.POST("getPcList", computerApi.GetPcList)
		computerRouter.POST("getPcById", computerApi.GetPcById)
		computerRouter.POST("createPc", computerApi.CreatePc)
		computerRouter.POST("updatePc", computerApi.UpdatePc)
		computerRouter.POST("statusOperation", computerApi.PcStatusOperation)
		computerRouter.POST("importExcel", computerApi.ImportExcel)
	}
}
