using QZWebApi.Bus; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; namespace QZWebApi.Controllers { public class HomeController : ApiController { [HttpPost] public string GetDecryptTjxx(GetDecryptTjxxInputDto input) { string resultMsg = TjSignUtil.Decrypt(input.DecryptValue, input.AesKey); return resultMsg; } } public class GetDecryptTjxxInputDto { public string DecryptValue { get; set; } public string AesKey { get; set; } } }