Browse Source

操作日志不再记录自己的操作

main
pixel 4 years ago
committed by qimiao
parent
commit
615eea3cdc
  1. 3
      server/router/system/sys_operation_record.go

3
server/router/system/sys_operation_record.go

@ -2,7 +2,6 @@ package system
import (
v1 "github.com/flipped-aurora/gin-vue-admin/api/v1"
"github.com/flipped-aurora/gin-vue-admin/middleware"
"github.com/gin-gonic/gin"
)
@ -10,7 +9,7 @@ type OperationRecordRouter struct {
}
func (s *OperationRecordRouter) InitSysOperationRecordRouter(Router *gin.RouterGroup) {
operationRecordRouter := Router.Group("sysOperationRecord").Use(middleware.OperationRecord())
operationRecordRouter := Router.Group("sysOperationRecord")
var authorityMenuApi = v1.ApiGroupApp.SystemApiGroup.OperationRecordApi
{
operationRecordRouter.POST("createSysOperationRecord", authorityMenuApi.CreateSysOperationRecord) // 新建SysOperationRecord

Loading…
Cancel
Save