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