123456789101112131415161718192021 |
- package router
- import (
- "gin-vue-admin/api/v1"
- "gin-vue-admin/middleware"
- "github.com/gin-gonic/gin"
- )
- func InitSysOperationRecordRouter(Router *gin.RouterGroup) {
- SysOperationRecordRouter := Router.Group("sysOperationRecord").
- Use(middleware.JWTAuth()).
- Use(middleware.CasbinHandler())
- {
- SysOperationRecordRouter.POST("createSysOperationRecord", v1.CreateSysOperationRecord)
- SysOperationRecordRouter.DELETE("deleteSysOperationRecord", v1.DeleteSysOperationRecord)
- SysOperationRecordRouter.DELETE("deleteSysOperationRecordByIds", v1.DeleteSysOperationRecordByIds)
- SysOperationRecordRouter.GET("findSysOperationRecord", v1.FindSysOperationRecord)
- SysOperationRecordRouter.GET("getSysOperationRecordList", v1.GetSysOperationRecordList)
- }
- }
|