BaseZfbConfig.java 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. package com.cyksj.config.zfb;
  2. import lombok.Getter;
  3. import lombok.Setter;
  4. /*
  5. *项目名: netflix
  6. *文件名: BaseZfbConfig
  7. *创建者: JavaZou
  8. *创建时间:2022/11/2 10:38
  9. */
  10. @Getter
  11. @Setter
  12. public class BaseZfbConfig {
  13. /**
  14. * 请求支付宝的网关地址
  15. */
  16. public static String url = "https://openapi.alipay.com/gateway.do";
  17. /**
  18. * 参数返回格式
  19. */
  20. public static String format = "JSON";
  21. /**
  22. * 编码格式
  23. */
  24. public static String charset = "UTF-8";
  25. /**
  26. * 签名算法
  27. */
  28. public static String signType = "RSA2";
  29. public static String returnUrl = "yinhe/web/ticket";
  30. //前端成功页面
  31. public static String SUCCESS_URL = "success/";
  32. //手机支付 h5默认跳转 成功页
  33. public static String DEFAULT_URL = "ticket";
  34. public static String zfb_register_login_return_url = "yinhe/web/registerTicket";
  35. public static String notifyUrl = "applets/order/prepay/zfb/notify";
  36. public static String upgradeNotifyUrl = "applets/order/prepay/zfb/upgrade/notify";
  37. public static String zfb_register_notify_url = "applets/register/prepay/zfb/notify";
  38. public static String wholesaleNotifyUrl = "applet/wholesale/zfb/notify";
  39. public static String wholesaleDepositNotifyUrl = "applet/wholesale/deposit/zfb/notify";
  40. public static String userMirrorOpenShopNotifyUrl = "applets/mirror/shop/prepay/zfb/notify";
  41. public static String spotifyUpgradeNotifyUrl = "applets/spotify/prepay/zfb/upgrade/notify";
  42. /**
  43. * qr_pay_mode PC扫码支付的方式。 跳转模式
  44. */
  45. public static String qrPayMode_redirect = "2";
  46. /**
  47. * qr_pay_mode PC扫码支付的方式。订单码 默认4嵌入
  48. */
  49. public static String qrPayMode_orderCode = "4";
  50. /**
  51. * 支付宝手机支付
  52. */
  53. public static String ONE_STR = "1";
  54. /**
  55. * 支付网页支付
  56. */
  57. public static String TWO_STR = "2";
  58. }