第三方api接口
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.

provider.go 4.5 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
6 months ago
1 year ago
1 year ago
6 months ago
1 year ago
1 year ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. package md
  2. const (
  3. PVD_TB = "taobao"
  4. PVD_TM = "tmall"
  5. PVD_TIKTOK = "tikTok"
  6. PVD_KUAISHOU = "kuaishou"
  7. PVD_TIKTOKLIVE = "tikTok_live"
  8. PVD_KUAISHOULIVE = "kuaishou_live"
  9. PVD_JD = "jdSdk"
  10. PVD_JDS = "jd"
  11. PVD_SN = "suning"
  12. PVD_VIP = "vip"
  13. PVD_PDD = "pdd"
  14. PVD_KL = "kaola"
  15. PVD_MEITUAN = "meituan"
  16. PVD_MEITUANLM = "meituan_lm"
  17. PVD_STARBUCKS = "starbucks"
  18. PVD_MCDONALD = "mcdonald"
  19. PVD_NAYUKI = "nayuki"
  20. PVD_TIKTOKLIFE = "tikTok_life"
  21. PVD_BURGERKING = "burger_king"
  22. PVD_HEYTEA = "heytea"
  23. PVD_PIZZA = "pizza"
  24. PVD_WALLACE = "wallace"
  25. PVD_TOURISM = "tourism"
  26. PVD_FLOWERCAKE = "flowerCake"
  27. PVD_TO_KFC = "to_kfc"
  28. PVD_PAGODA = "pagoda"
  29. PVD_LUCKIN = "luckin"
  30. PVD_DUOMAI = "duomai" // 多麦
  31. PVD_DIDI_ENERGY = "didi_energy" //滴滴
  32. PVD_KING_FLOWER = "king_flower" //
  33. PVD_DIDI_ONLINE_CAR = "didi_online_car" //滴滴
  34. PVD_DIDI_FREIGHT = "didi_freight" //滴滴
  35. PVD_DIDI_CHAUFFEUR = "didi_chauffeur" //滴滴
  36. KEY_CFG_ZM_AK = "third_zm_app_key"
  37. KEY_CFG_ZM_SK = "third_zm_app_secret"
  38. KEY_CFG_ZM_WEB_ID = "third_zm_web_id" // 智盟网站ID
  39. )
  40. var ZHIMENG_CFG_LIST = []string{KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_WEB_ID}
  41. var PVD_LIST = map[string]string{
  42. PVD_TB: "淘宝",
  43. PVD_JD: "京东",
  44. PVD_SN: "苏宁",
  45. PVD_VIP: "唯品会",
  46. PVD_PDD: "拼多多",
  47. PVD_KL: "考拉",
  48. PVD_TIKTOK: "抖音",
  49. PVD_KUAISHOU: "快手",
  50. PVD_TIKTOKLIVE: "抖音直播商品",
  51. PVD_KUAISHOULIVE: "快手直播商品",
  52. PVD_MEITUAN: "美团",
  53. PVD_MEITUANLM: "美团联盟",
  54. PVD_STARBUCKS: "星巴克",
  55. PVD_MCDONALD: "麦当劳",
  56. PVD_TO_KFC: "肯德基",
  57. PVD_PAGODA: "百果园",
  58. PVD_LUCKIN: "瑞幸咖啡",
  59. PVD_DUOMAI: "多麦", // 多麦
  60. PVD_KING_FLOWER: "花小猪",
  61. PVD_DIDI_CHAUFFEUR: "滴滴代驾",
  62. PVD_DIDI_ENERGY: "滴滴加油", //滴滴
  63. PVD_DIDI_ONLINE_CAR: "滴滴打车", //滴滴
  64. PVD_DIDI_FREIGHT: "滴滴货运", //滴滴
  65. PVD_NAYUKI: "奈雪",
  66. PVD_BURGERKING: "汉堡王",
  67. PVD_HEYTEA: "喜茶",
  68. PVD_PIZZA: "必胜客",
  69. PVD_WALLACE: "华莱士",
  70. PVD_TOURISM: "出游特惠",
  71. PVD_FLOWERCAKE: "鲜花特惠",
  72. }
  73. var PVD_NEW_LIST = []map[string]string{
  74. {"name": "淘宝", "key": "taobao", "is_more_union": "1"},
  75. {"name": "抖音", "key": "tikTok", "is_more_union": "1"},
  76. {"name": "穿山甲抖音", "key": "csjp", "is_more_union": "1"},
  77. {"name": "京东", "key": "jd", "is_more_union": "1"},
  78. {"name": "唯品会", "key": "vip", "is_more_union": "1"},
  79. {"name": "拼多多", "key": "pdd", "is_more_union": "1"},
  80. {"name": "苏宁", "key": "suning", "is_more_union": "1"},
  81. {"name": "考拉", "key": "kaola", "is_more_union": "1"},
  82. {"name": "多麦", "key": "duomai", "is_more_union": "1"},
  83. {"name": "抖音直播商品", "key": "tikTok_live", "is_more_union": "1"},
  84. {"name": "快手", "key": "kuaishou", "is_more_union": "1"},
  85. {"name": "快手直播商品", "key": "kuaishou_live", "is_more_union": "0"},
  86. {"name": "美团", "key": "meituan", "is_more_union": "0"},
  87. {"name": "美团联盟", "key": "meituan_lm", "is_more_union": "1"},
  88. {"name": "星巴克", "key": "starbucks", "is_more_union": "0"},
  89. {"name": "麦当劳", "key": "mcdonald", "is_more_union": "0"},
  90. {"name": "肯德基", "key": "to_kfc", "is_more_union": "0"},
  91. {"name": "百果园", "key": "pagoda", "is_more_union": "0"},
  92. {"name": "瑞幸咖啡", "key": "luckin", "is_more_union": "0"},
  93. {"name": "花小猪", "key": "didi_energy", "is_more_union": "0"},
  94. {"name": "滴滴代驾", "key": "king_flower", "is_more_union": "0"},
  95. {"name": "滴滴加油", "key": "didi_online_car", "is_more_union": "0"},
  96. {"name": "滴滴打车", "key": "didi_freight", "is_more_union": "0"},
  97. {"name": "滴滴货运", "key": "didi_chauffeur", "is_more_union": "0"},
  98. {"name": "奈雪", "key": "nayuki", "is_more_union": "0"},
  99. {"name": "汉堡王", "key": "burger_king", "is_more_union": "0"},
  100. {"name": "喜茶", "key": "heytea", "is_more_union": "0"},
  101. {"name": "必胜客", "key": "pizza", "is_more_union": "0"},
  102. {"name": "华莱士", "key": "wallace", "is_more_union": "0"},
  103. {"name": "出游特惠", "key": "tourism", "is_more_union": "0"},
  104. {"name": "鲜花特惠", "key": "flowerCake", "is_more_union": "0"},
  105. }