1234567891011121314151617181920212223 |
- package system
- import (
- "gin-vue-admin/api/v1"
- "gin-vue-admin/middleware"
- "github.com/gin-gonic/gin"
- )
- type OperationRecordRouter struct {
- }
- func (s *OperationRecordRouter) InitSysOperationRecordRouter(Router *gin.RouterGroup) {
- operationRecordRouter := Router.Group("sysOperationRecord").Use(middleware.OperationRecord())
- var authorityMenuApi = v1.ApiGroupApp.SystemApiGroup.OperationRecordApi
- {
- operationRecordRouter.POST("createSysOperationRecord", authorityMenuApi.CreateSysOperationRecord)
- operationRecordRouter.DELETE("deleteSysOperationRecord", authorityMenuApi.DeleteSysOperationRecord)
- operationRecordRouter.DELETE("deleteSysOperationRecordByIds", authorityMenuApi.DeleteSysOperationRecordByIds)
- operationRecordRouter.GET("findSysOperationRecord", authorityMenuApi.FindSysOperationRecord)
- operationRecordRouter.GET("getSysOperationRecordList", authorityMenuApi.GetSysOperationRecordList)
- }
- }
|