From eb2c3a8890a0e9695c0cd2bc3b3dc310c6fbcfa9 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期六, 26 十月 2019 11:28:23 +0800
Subject: [PATCH] fix user timeout

---
 controllers/user.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/controllers/user.go b/controllers/user.go
index aae3cbd..463c418 100644
--- a/controllers/user.go
+++ b/controllers/user.go
@@ -161,6 +161,7 @@
 	var api dbapi.UserApi
 	b, d := api.SaveAuth(paramBody)
 	if b {
+		auth.SetOutUser(userEditVo.Id)
 		util.ResponseFormat(c,code.UpdateSuccess,d)
 	} else {
 		util.ResponseFormat(c,code.UpdateFail,"淇濆瓨澶辫触")

--
Gitblit v1.8.0