zjxpcyc 6 年 前
コミット
598f1644fa
共有2 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 1
    1
      conf/log.conf
  2. 1
    0
      controllers/user/user.go

+ 1
- 1
conf/log.conf ファイルの表示

@@ -1,4 +1,4 @@
1 1
 [common]
2
-filename="E:\\GoProject\\src\\spaceofcheng\\services\\log\\common.log"
2
+filename="E:\\GoProjects\\src\\spaceofcheng\\services\\log\\common.log"
3 3
 # log level "emergency", "alert", "critical", "error", "warning", "notice", "info", "debug"
4 4
 level="debug"

+ 1
- 0
controllers/user/user.go ファイルの表示

@@ -209,6 +209,7 @@ func (c *UserController) SignOut() {
209 209
 	user := c.Context.Get("user").(model.SysUser)
210 210
 	c.Context.Set("user", nil)
211 211
 	c.SetTokenExipre(user.UserId)
212
+	c.ResponseJSON("ok")
212 213
 }
213 214
 
214 215
 // GetEnvVars 获取当前用户相关