model.go 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package model
  2. // 各种状态枚举
  3. const (
  4. StateValid = "valid"
  5. StateInvalid = "invalid"
  6. BizAsset = "asset"
  7. BizElec = "elec"
  8. AssetRelationPaid = "paid"
  9. AssetRelationNone = "none"
  10. AssetRelationMiss = "miss"
  11. OTypeArchive = "archive"
  12. OrderStateCreated = "created"
  13. OrderStatePaying = "paying"
  14. OrderStatePaid = "paid"
  15. OrderStateFailed = "failed"
  16. OrderStateClosed = "closed"
  17. OrderStateExpired = "expired"
  18. OrderStateSettled = "settled"
  19. OrderStateRefunding = "refunding"
  20. OrderStateRefunded = "refunded"
  21. OrderStateSettledRefunding = "st_refunding"
  22. OrderStateSettledRefunded = "st_refunded"
  23. OrderStateRefundFinished = "ref_finished"
  24. OrderStateDupRefunded = "dup_refunded"
  25. OrderStateBadDebt = "bad_debt"
  26. PayStatePaying = "PAYING"
  27. PayStateOverdue = "OVERDUE"
  28. PayStateClosed = "CLOSED"
  29. PayStateFail = "FAIL"
  30. PayStateSuccess = "SUCCESS"
  31. PayStateFinished = "FINISHED"
  32. PayStatePaySuccessAndCancel = "PAY_SUCCESS_AND_CANCEL"
  33. PayStatePayCancel = "PAY_CANCEL"
  34. PayStateRefund = "REFUND_SUCCESS"
  35. RechargeShellSuccess = "success"
  36. RechargeShellFail = "fail"
  37. )