EsignResponse.php 862 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. namespace App\Servers\ESign\comm;
  3. /**
  4. * esign响应
  5. * @author 澄泓
  6. * @date 2022/08/18 9:51
  7. */
  8. class EsignResponse
  9. {
  10. private $status;
  11. private $body;
  12. /**
  13. * EsignResponse constructor.
  14. * @param $status
  15. * @param $body
  16. */
  17. public function __construct($status, $body)
  18. {
  19. $this->status = $status;
  20. $this->body = $body;
  21. }
  22. /**
  23. * @return mixed
  24. */
  25. public function getStatus()
  26. {
  27. return $this->status;
  28. }
  29. /**
  30. * @param mixed $status
  31. */
  32. public function setStatus($status)
  33. {
  34. $this->status = $status;
  35. }
  36. /**
  37. * @return mixed
  38. */
  39. public function getBody()
  40. {
  41. return $this->body;
  42. }
  43. /**
  44. * @param mixed $body
  45. */
  46. public function setBody($body)
  47. {
  48. $this->body = $body;
  49. }
  50. }