订单分佣规则
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

144 satır
5.0 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_NEW_CINEMA = "new_cinema" //新电影票
  20. PVD_CREDIT_CARD = "credit_card"
  21. PVD_CARD_REFUND = "card_refund" //权益卡退款
  22. PVD_CARD = "privilege_card" //权益卡
  23. PVD_USER_LV_UP = "userlvup" //会员费用
  24. PVD_OPEN_CARD = "privilege_open_card" // 权益卡开卡
  25. PVD_DUOMAI = "duomai" // 多麦
  26. PVD_MALL_GOODS = "mall_goods" // 自营商品订单返佣
  27. PVD_MALL_GOODS_USER_LV = "mall_goods_user_lv" // 自营商品升级礼包订单返佣
  28. PVD_GROUP_BUY = "mall_group_buy" // 拼团未中奖返佣
  29. PVD_REGIONAL_AGENT_PAY = "regional_agent_pay" // 区域代理升级付款
  30. PVD_GUIDE = "GUIDE" //导购
  31. PVD_SELF_MALL = "SELF_MALL" //自营
  32. PVD_O2O = "O2O" //O2O
  33. PVD_COMMON = "COMMON" //区域代理通用网点
  34. PVD_ORDINARY = "ordinary" //通用
  35. )
  36. var PVD_LIST = map[string]string{
  37. PVD_TB: "淘宝",
  38. PVD_JD: "京东",
  39. PVD_SN: "苏宁",
  40. PVD_VIP: "唯品会",
  41. PVD_PDD: "拼多多",
  42. PVD_KL: "考拉",
  43. PVD_CREDIT_CARD: "信用卡",
  44. PVD_TM: "天猫",
  45. PVD_USER_LV_UP: "会员升级",
  46. PVD_CARD_REFUND: "权益卡退款",
  47. PVD_CARD: "权益卡",
  48. PVD_MEITUAN: "美团",
  49. PVD_OILSTATION: "加油",
  50. PVD_KFC: "肯德基",
  51. PVD_CINEMA: "电影票",
  52. "ele": "饿了么",
  53. "user_lv_up": "会员升级",
  54. PVD_REGIONAL_AGENT_PAY: "区域代理升级",
  55. PVD_GUIDE: "导购", //导购
  56. PVD_SELF_MALL: "自营", //自营
  57. PVD_O2O: "O2O", //O2O
  58. PVD_COMMON: "区域代理通用网点",
  59. PVD_ORDINARY: "通用", //通用
  60. "CARD": "权益卡",
  61. "OIL": "加油",
  62. }
  63. var PVD_LIST_ICON = map[string]string{
  64. PVD_TB: "provider-square-icon-taobao.png",
  65. PVD_JD: "provider-square-icon-jd.png",
  66. PVD_SN: "provider-square-icon-suning.png",
  67. PVD_VIP: "provider-square-icon-vip.png",
  68. PVD_PDD: "provider-square-icon-pdd.png",
  69. PVD_KL: "provider-square-icon-kaola.png",
  70. }
  71. var ZHIMENG_CFG_LIST = []string{KEY_CFG_ZM_AK, KEY_CFG_ZM_SK, KEY_CFG_ZM_WEB_ID}
  72. var PVD_CFG_LIST = map[string][]string{
  73. PVD_TB: {
  74. "third_taobao_sid",
  75. "third_taobao_web_ak",
  76. "third_taobao_web_sk",
  77. "third_taobao_svc_ak",
  78. "third_taobao_svc_sk",
  79. "third_taobao_svc_sid",
  80. // 推广位
  81. "third_taobao_share_inviter_code",
  82. "third_taobao_share_pid_android",
  83. "third_taobao_share_pid_ios",
  84. "third_taobao_share_pid_web",
  85. // 推广位
  86. "third_taobao_self_inviter_code",
  87. "third_taobao_self_pid_android",
  88. "third_taobao_self_pid_ios",
  89. "third_taobao_self_pid_web",
  90. },
  91. 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},
  92. 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},
  93. 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},
  94. PVD_SN: {KEY_CFG_SN_AK, KEY_CFG_SN_SK},
  95. PVD_KL: {KEY_CFG_KL_AK, KEY_CFG_KL_SK},
  96. 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},
  97. 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},
  98. 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},
  99. 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},
  100. }
  101. var COIN_TRANSFER_TYPE = map[int]string{
  102. 1: "全球分红",
  103. 2: "管理员修改",
  104. 3: "消费",
  105. 4: "退回",
  106. 5: "虚拟币兑换",
  107. 6: "余额充值",
  108. }
  109. var COMM_TASK_TYPE_NAME = map[int]string{
  110. 1: "邀请好友",
  111. 2: "分享商品",
  112. 3: "观看视频广告",
  113. 4: "购买商品",
  114. 5: "淘宝授权",
  115. 6: "微信绑定",
  116. 7: "成为XX等级会员",
  117. 8: "填写邀请码",
  118. 9: "绑定手机号",
  119. }
  120. var COMM_TASK_TYPE_ONE = []string{
  121. "5", "6", "7", "8", "9",
  122. }
  123. var COMM_TASK_TYPE_MORE = []string{
  124. "1", "2", "3", "4",
  125. }
  126. var VIRTUAL_COIN_FUNCTION_TYPE = map[string]string{
  127. "block": "block",
  128. "capital_pool": "capital_pool",
  129. "super_group": "super_group",
  130. }
  131. var VIRTUAL_COIN_FUNCTION_TYPE_NAME = map[string]string{
  132. "block": "区块币",
  133. "capital_pool": "全球分红",
  134. "super_group": "超级拼团",
  135. }