附近小店
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

62 řádky
1.7 KiB

  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. CommunityTeamPay = "community_team_pay"
  39. PrivilegeCard = "privilege_card"
  40. LianlianPay = "lianlian_pay"
  41. BusinessCollege = "business_college"
  42. UserLevel = "user_level"
  43. PrivilegeOpenCard = "privilege_open_card"
  44. BusinessCollegeSub = "business_college_sub"
  45. UserLevelSub = "user_level_sub"
  46. PrivilegeOpenCardSub = "privilege_open_card_sub"
  47. AggregationRecharge = "aggregation_recharge"
  48. Swipe = "swipe"
  49. )
  50. var NeedPayPart = map[string]string{
  51. PrivilegeCard: "权益卡",
  52. BusinessCollege: "商学院",
  53. UserLevel: "会员VIP升级",
  54. PrivilegeOpenCard: "权益卡开卡",
  55. AggregationRecharge: "聚合充值",
  56. }