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.

125 lines
2.6 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Constants\v3;
  4. use Hyperf\Constants\AbstractConstants;
  5. use Hyperf\Constants\Annotation\Constants;
  6. /**
  7. * @Constants
  8. */
  9. class LogLabel extends AbstractConstants
  10. {
  11. /**
  12. * @Message("ErrorCode异常抛出")
  13. */
  14. const ERROR_CODE_EXCEPTION = 'error_code_exception_log';
  15. /**
  16. * @Message("ErrorCode异常抛出")
  17. */
  18. const ERROR_CODE_EXCEPTION_LOG_DATA = 'error_code_exception_log_data';
  19. /**
  20. * @Message("线上订单")
  21. */
  22. const ORDER_ONLINE_LOG = 'order_online_log';
  23. /**
  24. * @Message("线上订单支付完成")
  25. */
  26. const ORDER_ONLINE_PAID_LOG = 'order_online_paid_log';
  27. /**
  28. * @Message("线上订单支付通知")
  29. */
  30. const ORDER_ONLINE_PAY_NOTIFY_LOG = 'order_online_pay_notify_log';
  31. /**
  32. * @Message("当面付订单")
  33. */
  34. const ORDER_OFFLINE_LOG = 'order_offline_log';
  35. /**
  36. * @Message("当面付订单支付完成")
  37. */
  38. const ORDER_OFFLINE_PAID_LOG = 'order_offline_paid_log';
  39. /**
  40. * @Message("当面付订单支付通知")
  41. */
  42. const ORDER_OFFLINE_PAY_NOTIFY_LOG = 'order_offline_pay_notify_log';
  43. /**
  44. * @Message("退款通知")
  45. */
  46. const ORDER_REFUND_NOTIFY_LOG = 'order_refund_notify_log';
  47. /**
  48. * @Message("订单支付")
  49. */
  50. const ORDER_PAYMENT_LOG = 'order_payment_log';
  51. /**
  52. * @Message("订单完成")
  53. */
  54. const ORDER_COMPLETE_LOG = 'order_complete_log';
  55. /**
  56. * @Message("订单退款")
  57. */
  58. const ORDER_REFUND_LOG = 'order_refund_log';
  59. /**
  60. * @Message("IOT设备绑定")
  61. */
  62. const DEVICE_BIND_LOG = 'device_bind_log';
  63. /**
  64. * @Message("IOT设备Pub消息")
  65. */
  66. const DEVICE_SEND_LOG = 'device_send_log';
  67. /**
  68. * @Message("优惠券返券")
  69. */
  70. const COUPON_REBATE_LOG = 'coupon_rebate_log';
  71. /**
  72. * @Message("分账")
  73. */
  74. const SEPARATE_ACCOUNTS_LOG = 'separate_accounts_log';
  75. /**
  76. * @Message("优惠券退还")
  77. */
  78. const COUPON_REFUND_LOG = 'coupon_refund_log';
  79. /**
  80. * @Message("提现失败")
  81. */
  82. const STORE_WITHDRAW_FAIL_LOG = 'store_withdraw_fail_log';
  83. /**
  84. * @Message("付款到微信钱包失败")
  85. */
  86. const PAY_TO_WX_FAIL_LOG = 'pay_to_wx_fail_log';
  87. /**
  88. * @Message("自动取消订单失败")
  89. */
  90. const ORDER_AUTO_CANCEL_FAIL_LOG = 'order_auto_cancel_fail_log';
  91. /**
  92. * @Message("创建商品记录")
  93. */
  94. const CREATE_GOODS_LOG = 'create_goods_log';
  95. /**
  96. * @Message("更新商品记录")
  97. */
  98. const UPDATE_GOODS_LOG = 'update_goods_log';
  99. }