public ActionResult BatchDecryptData(DecryptParameter decData)
 {
     try
     {
         SecurityManager.Authorize(Request);
         return(Json(new ApiResult <List <string> >(
                         CodecModule.DecryptData(decData.EncKey, decData.EncData))));
     }
     catch (Exception ex)
     {
         return(Json(new ApiError("500", ex.Message)));
     }
 }
示例#2
0
 public ActionResult BatchDecryptData(DecryptParameter decData)
 {
     SecurityManager.Authorize(Request);
     return(Json(new ApiResult <List <string> >(
                     CodecModule.DecryptData(decData.EncKey, decData.EncData))));
 }
示例#3
0
 public List <string> BatchDecryptData([FromBody] DecryptParameter decData)
 {
     return(CodecModule.DecryptData(decData.EncKey, decData.EncData));
 }