golang 的 rabbitmq 消费项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

93 lines
3.3 KiB

  1. package md
  2. const (
  3. PVD_TB = "taobao"
  4. PVD_JD = "jd"
  5. PVD_SN = "suning"
  6. PVD_VIP = "vip"
  7. PVD_PDD = "pdd"
  8. PVD_KL = "kaola"
  9. PVD_TM = "tmall"
  10. PVD_DTK = "dataoke"
  11. PVD_HDK = "haodanku"
  12. PVD_JTT = "jingtuitui"
  13. // 特殊活动免单方案
  14. PVD_FREE = "free"
  15. PVD_MEITUAN = "meituan"
  16. PVD_OILSTATION = "oil"
  17. PVD_KFC = "kfc"
  18. PVD_CINEMA = "cinema"
  19. PVD_CREDIT_CARD = "credit_card"
  20. PVD_CARD_REFUND = "card_refund" //权益卡退款
  21. PVD_CARD = "privilege_card" //权益卡
  22. PVD_USER_LV_UP = "userlvup" //会员费用
  23. PVD_OPEN_CARD = "privilege_open_card" // 权益卡开卡
  24. PVD_DUOMAI = "duomai" // 多麦
  25. PVD_GUIDE = "GUIDE" //导购
  26. PVD_SELF_MALL = "SELF_MALL" //自营
  27. PVD_O2O = "O2O" //O2O
  28. PVD_REGIONAL_AGENT_PAY = "regional_agent_pay" //O2O
  29. PVD_COMMON = "COMMON" //COMMON
  30. )
  31. var PVD_LIST = map[string]string{
  32. PVD_TB: "淘宝",
  33. PVD_JD: "京东",
  34. PVD_SN: "苏宁",
  35. PVD_VIP: "唯品会",
  36. PVD_PDD: "拼多多",
  37. PVD_KL: "考拉",
  38. PVD_CREDIT_CARD: "信用卡",
  39. PVD_TM: "天猫",
  40. PVD_USER_LV_UP: "会员升级",
  41. PVD_CARD_REFUND: "权益卡退款",
  42. PVD_CARD: "权益卡",
  43. PVD_MEITUAN: "美团",
  44. PVD_OILSTATION: "加油",
  45. PVD_KFC: "肯德基",
  46. PVD_CINEMA: "电影票",
  47. "ele": "饿了么",
  48. "user_lv_up": "会员升级",
  49. }
  50. var PVD_LIST_ICON = map[string]string{
  51. PVD_TB: "provider-square-icon-taobao.png",
  52. PVD_JD: "provider-square-icon-jd.png",
  53. PVD_SN: "provider-square-icon-suning.png",
  54. PVD_VIP: "provider-square-icon-vip.png",
  55. PVD_PDD: "provider-square-icon-pdd.png",
  56. PVD_KL: "provider-square-icon-kaola.png",
  57. }
  58. var ZHIMENG_CFG_LIST = []string{KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_WEB_ID}
  59. var PVD_CFG_LIST = map[string][]string{
  60. PVD_TB: {
  61. "third_taobao_sid",
  62. "third_taobao_web_ak",
  63. "third_taobao_web_sk",
  64. "third_taobao_svc_ak",
  65. "third_taobao_svc_sk",
  66. "third_taobao_svc_sid",
  67. // 推广位
  68. "third_taobao_share_inviter_code",
  69. "third_taobao_share_pid_android",
  70. "third_taobao_share_pid_ios",
  71. "third_taobao_share_pid_web",
  72. // 推广位
  73. "third_taobao_self_inviter_code",
  74. "third_taobao_self_pid_android",
  75. "third_taobao_self_pid_ios",
  76. "third_taobao_self_pid_web",
  77. },
  78. PVD_JD: {KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_SMS_AK, KEY_CFG_ZM_SMS_SK, KEY_CFG_ZM_JD_SITE_ID, KEY_CFG_ZM_WEB_ID},
  79. PVD_VIP: {KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_SMS_AK, KEY_CFG_ZM_SMS_SK, KEY_CFG_ZM_JD_SITE_ID, KEY_CFG_ZM_WEB_ID},
  80. PVD_PDD: {KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_SMS_AK, KEY_CFG_ZM_SMS_SK, KEY_CFG_ZM_JD_SITE_ID, KEY_CFG_ZM_WEB_ID},
  81. PVD_SN: {KEY_CFG_SN_AK, KEY_CFG_SN_SK},
  82. PVD_KL: {KEY_CFG_KL_AK, KEY_CFG_KL_SK},
  83. PVD_MEITUAN: {KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_SMS_AK, KEY_CFG_ZM_SMS_SK, KEY_CFG_ZM_WEB_ID},
  84. PVD_OILSTATION: {KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_SMS_AK, KEY_CFG_ZM_SMS_SK, KEY_CFG_ZM_WEB_ID},
  85. PVD_KFC: {KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_SMS_AK, KEY_CFG_ZM_SMS_SK, KEY_CFG_ZM_WEB_ID},
  86. PVD_CINEMA: {KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_SMS_AK, KEY_CFG_ZM_SMS_SK, KEY_CFG_ZM_WEB_ID},
  87. }