Commit deb384a27f2d920671ed23d00750a80f467ec901

Authored by 左丞
1 parent cab196dc
Exists in newLive

no message

YouerLiveVideo/YouerLiveVideo/util/account.swift
... ... @@ -77,12 +77,20 @@ class AccountManager{
77 77 return ""
78 78 }
79 79  
  80 + func schoolid()->String{
  81 + if let info=rawUserInfo{
  82 + return info.contentData()["schoolid"].stringValue
  83 + }
  84 + return ""
  85 + }
  86 +
80 87 func schoolName()->String{
81 88 if let info=rawUserInfo{
82   - return info.contentData()["f_SchoolName"].stringValue
  89 + return info.contentData()["schoolname"].stringValue
83 90 }
84 91 return ""
85 92 }
  93 +
86 94  
87 95 func isParent()->Bool{
88 96 if let info=rawUserInfo{
... ...