yansen 6 gadus atpakaļ
vecāks
revīzija
78fb770038
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0
    3
      controllers/auth.go

+ 0
- 3
controllers/auth.go Parādīt failu

@@ -3,7 +3,6 @@ package controllers
3 3
 import (
4 4
 	"net/http"
5 5
 	"spaceofcheng/services/service"
6
-	"spaceofcheng/services/utils"
7 6
 )
8 7
 
9 8
 // Authenticate 权限验证
@@ -16,8 +15,6 @@ import (
16 15
 func (c *BaseController) authenticate() {
17 16
 	c.serv = service.NewSysServ(c.Context)
18 17
 
19
-	utils.LogError(123)
20
-
21 18
 	// 鉴权 - 并初始化上下文
22 19
 	res := c.serv.AuthAndInitCtx(c.Ctx)
23 20