优惠券订单及其他脚本

SecretContext.php 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. class SecretContext
  3. {
  4. var $secret;
  5. var $secretVersion;
  6. var $invalidTime;
  7. var $maxInvalidTime;
  8. var $appConfig;
  9. var $cacheKey = '';
  10. var $session = '';
  11. var $encryptPhoneNum = 0;
  12. var $encryptNickNum = 0;
  13. var $encryptReceiverNameNum = 0;
  14. var $encryptSimpleNum = 0;
  15. var $encryptSearchNum = 0;
  16. var $decryptPhoneNum = 0;
  17. var $decryptNickNum = 0;
  18. var $decryptReceiverNameNum = 0;
  19. var $decryptSimpleNum = 0;
  20. var $decryptSearchNum = 0;
  21. var $searchPhoneNum = 0;
  22. var $searchNickNum = 0;
  23. var $searchReceiverNameNum = 0;
  24. var $searchSimpleNum = 0;
  25. var $searchSearchNum = 0;
  26. var $lastUploadTime;
  27. function toLogString()
  28. {
  29. return $this->session.','.$this->encryptPhoneNum.','.$this->encryptNickNum.','
  30. .$this->encryptReceiverNameNum.','.$this->encryptSimpleNum.','.$this->encryptSearchNum.','
  31. .$this->decryptPhoneNum.','.$this->decryptNickNum.','.$this->decryptReceiverNameNum.','
  32. .$this->decryptSimpleNum.','.$this->decryptSearchNum.','.$this->searchPhoneNum.','
  33. .$this->searchNickNum.','.$this->searchReceiverNameNum.','.$this->searchSimpleNum.','
  34. .$this->searchSearchNum ;
  35. }
  36. function __construct()
  37. {
  38. $this->lastUploadTime = time();
  39. }
  40. }
  41. class SecretData
  42. {
  43. var $originalValue;
  44. var $originalBase64Value;
  45. var $secretVersion;
  46. var $search;
  47. function __construct()
  48. {
  49. }
  50. }
  51. ?>