You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
595 B

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
  1. using QZWebApi.Bus;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Web;
  6. using System.Web.Http;
  7. namespace QZWebApi.Controllers
  8. {
  9. public class HomeController : ApiController
  10. {
  11. [HttpPost]
  12. public string GetDecryptTjxx(GetDecryptTjxxInputDto input)
  13. {
  14. string resultMsg = TjSignUtil.Decrypt(input.DecryptValue, input.AesKey);
  15. return resultMsg;
  16. }
  17. }
  18. public class GetDecryptTjxxInputDto
  19. {
  20. public string DecryptValue { get; set; }
  21. public string AesKey { get; set; }
  22. }
  23. }