PayDefine.ts 899 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. export const GiftsIDs = {
  2. /** 新手礼包 */
  3. FirstPack: 308
  4. }
  5. const PaymentIcons = {
  6. PayPal: "public/payments/paypal"
  7. }
  8. export enum PayoutType {
  9. CashApp = 1,
  10. Paypal,
  11. }
  12. export interface IPayoutGear {
  13. name: string;
  14. type: PayoutType;
  15. icon: string;
  16. pixType: number;
  17. }
  18. export const PayoutGears: IPayoutGear[] = [
  19. {
  20. name: "Cash App",
  21. type: PayoutType.CashApp,
  22. icon: PaymentIcons.PayPal,
  23. pixType: 1,
  24. },
  25. {
  26. name: "PayPal",
  27. type: PayoutType.Paypal,
  28. icon: PaymentIcons.PayPal,
  29. pixType: 2,
  30. },
  31. ]
  32. export enum PayoutState {
  33. /** 订单错误 */
  34. ERROR = -1,
  35. /** 审核中 */
  36. CHECKING = 1,
  37. /** 提现成功 */
  38. SUCCESS,
  39. /** 提现失败 */
  40. FAIL,
  41. /** 订单撤回 */
  42. RECALL,
  43. /** 处理中 */
  44. PROCESSING,
  45. /** 三方订单异常 */
  46. TTP_ERROR
  47. }