style: middleware name

This commit is contained in:
lejianwen
2025-02-12 22:09:52 +08:00
parent 63cf231bdc
commit 4b3bbe809d
2 changed files with 4 additions and 4 deletions

View File

@@ -6,8 +6,8 @@ import (
"github.com/lejianwen/rustdesk-api/v2/service"
)
// AdminAuth 后台权限验证中间件
func AdminAuth() gin.HandlerFunc {
// BackendUserAuth 后台权限验证中间件
func BackendUserAuth() gin.HandlerFunc {
return func(c *gin.Context) {
//测试先关闭