Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sys_system.go #1807

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

azuretiger667
Copy link

系统信息的读取不需要记录操作日志
因为这个是周期性的请求接口,会产生大量无用的操作日志

系统信息的读取不需要记录操作日志
因为这个是周期性的请求接口,会产生大量无用的操作日志
@pixelmaxQm
Copy link
Collaborator

这里可以创造两个gloup 其中一个是无需日志的路由组,另一个为记录日志的路由组 然后分别用两个路由组注册路由即可 可以做下调整
非常感谢pr
示例

sysRouter := Router.Group("system").Use(middleware.OperationRecord())
sysRouterWithOutOperationRecord := Router.Group("system")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants