附近小店
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

3 个月前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package md
  2. const (
  3. CALLBACK_URL = "%s/api/v1/communityTeam/pay/callback?master_id=%s&order_type=%s&pay_method=%s"
  4. RECHARGGE_CALLBACK_URL = "http://%s/api/v1/new_recharge/callback/%s"
  5. BALANCE_PAY = "balance_pay"
  6. ALIPAY = "alipay"
  7. WX_PAY = "wxpay"
  8. FB_PAY_ALI = "fb_pay_ali"
  9. FB_PAY_WX = "fb_pay_wx"
  10. FB_PAY_WX_SUB = "fb_pay_wx_sub"
  11. FBCALLBACK_URL = "%s/api/v1/pay/fb/callback"
  12. )
  13. var PayMethod = map[string]string{
  14. BALANCE_PAY: "余额支付",
  15. ALIPAY: "支付宝支付",
  16. WX_PAY: "微信支付",
  17. FB_PAY_ALI: "乐刷支付宝",
  18. FB_PAY_WX: "乐刷微信",
  19. FB_PAY_WX_SUB: "乐刷微信",
  20. }
  21. var PayMethodIdToName = map[int]string{
  22. 1: "余额支付",
  23. 2: "支付宝支付",
  24. 3: "微信支付",
  25. 18: "乐刷支付宝",
  26. 19: "乐刷微信",
  27. }
  28. var PayMethodIDs = map[string]int{
  29. BALANCE_PAY: 1,
  30. ALIPAY: 2,
  31. WX_PAY: 3,
  32. FB_PAY_ALI: 18,
  33. FB_PAY_WX: 19,
  34. FB_PAY_WX_SUB: 19,
  35. }
  36. const (
  37. CommunityTeam = "community_team"
  38. PrivilegeCard = "privilege_card"
  39. LianlianPay = "lianlian_pay"
  40. BusinessCollege = "business_college"
  41. UserLevel = "user_level"
  42. PrivilegeOpenCard = "privilege_open_card"
  43. BusinessCollegeSub = "business_college_sub"
  44. UserLevelSub = "user_level_sub"
  45. PrivilegeOpenCardSub = "privilege_open_card_sub"
  46. AggregationRecharge = "aggregation_recharge"
  47. Swipe = "swipe"
  48. )
  49. var NeedPayPart = map[string]string{
  50. PrivilegeCard: "权益卡",
  51. BusinessCollege: "商学院",
  52. UserLevel: "会员VIP升级",
  53. PrivilegeOpenCard: "权益卡开卡",
  54. AggregationRecharge: "聚合充值",
  55. }