public IActionResult GetAuthCode()
 {
     //AuthCodeEnum id
     //Enum.IsDefined(typeof(AuthCodeEnum), id);
     //var key = id;
     return(File(CoreContextProvider.NewVerifyCode(ConstParameters.VerifyCodeKeyName), @"image/Gif"));
 }
示例#2
0
 public IActionResult GetAuthCode()
 {
     return(File(CoreContextProvider.NewVerifyCode(), @"image/Gif"));
 }