第三方api接口
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

provider.go 4.1 KiB

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