示例#1
0
文件: WsAuth.cs 项目: wei20050/Wdxx
 public static void Authenticate(bool isAuth)
 {
     if (!isAuth)
     {
         return;
     }
     AuthHelper.AuthIni();
     if (!IsTokenValid())
     {
         throw new Exception("401");
     }
 }