rdluck 4 년 전
부모
커밋
a927e2dfe0
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      controllers/user.go

+ 3 - 1
controllers/user.go

@@ -443,7 +443,9 @@ func (this *UserController) CheckLogin() {
 		}
 	} else {
 		resp.IsBind = true
-		resp.IsAuth = true
+		if user.UnionId == "" {
+			resp.IsAuth = true
+		}
 		resp.PermissionName = ""
 	}
 	br.Success = true