第三方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.1 KiB

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