Browse Source

fix(pc端检测登录):如果未登录,那么同样返回success为true

Roc 4 years ago
parent
commit
4eb97ab952
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/user_pc.go

+ 1 - 0
controllers/user_pc.go

@@ -622,6 +622,7 @@ func (this *UserPcNotAuthController) CheckLogin() {
 	}()
 	//没有用户信息,代表是没有登录
 	if this.User == nil{
+		br.Success = true
 		br.Ret = 408
 		return
 	}