浏览代码

delete comment

yansen 6 年前
父节点
当前提交
78fb770038
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0
    3
      controllers/auth.go

+ 0
- 3
controllers/auth.go 查看文件

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