Skip to content

Commit 615eea3

Browse files
author
pixel
committed
操作日志不再记录自己的操作
1 parent 4f77e4e commit 615eea3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/router/system/sys_operation_record.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ package system
22

33
import (
44
v1 "github.com/flipped-aurora/gin-vue-admin/api/v1"
5-
"github.com/flipped-aurora/gin-vue-admin/middleware"
65
"github.com/gin-gonic/gin"
76
)
87

98
type OperationRecordRouter struct {
109
}
1110

1211
func (s *OperationRecordRouter) InitSysOperationRecordRouter(Router *gin.RouterGroup) {
13-
operationRecordRouter := Router.Group("sysOperationRecord").Use(middleware.OperationRecord())
12+
operationRecordRouter := Router.Group("sysOperationRecord")
1413
var authorityMenuApi = v1.ApiGroupApp.SystemApiGroup.OperationRecordApi
1514
{
1615
operationRecordRouter.POST("createSysOperationRecord", authorityMenuApi.CreateSysOperationRecord) // 新建SysOperationRecord

0 commit comments

Comments
 (0)