예제 #1
0
 /// <summary>
 /// 授权验证
 /// </summary>
 /// <param name="auth">授权验证信息</param>
 /// <returns></returns>
 public bool Authentication(AuthenticationCmdDto auth)
 {
     if (auth == null)
     {
         return(false);
     }
     return(AuthorizeService.Authentication(auth.MapTo <Authentication>()));
 }