You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.1 KiB
23 lines
1.1 KiB
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) // 新建SysOperationRecord
|
|
operationRecordRouter.DELETE("deleteSysOperationRecord", authorityMenuApi.DeleteSysOperationRecord) // 删除SysOperationRecord
|
|
operationRecordRouter.DELETE("deleteSysOperationRecordByIds", authorityMenuApi.DeleteSysOperationRecordByIds) // 批量删除SysOperationRecord
|
|
operationRecordRouter.GET("findSysOperationRecord", authorityMenuApi.FindSysOperationRecord) // 根据ID获取SysOperationRecord
|
|
operationRecordRouter.GET("getSysOperationRecordList", authorityMenuApi.GetSysOperationRecordList) // 获取SysOperationRecord列表
|
|
|
|
}
|
|
}
|