Bladeren bron

抖音 同一达人ID 不能绑定到多个渠道角色用户上

zhaoxian 1 jaar geleden
bovenliggende
commit
143a90dbf7

+ 3 - 3
ruixuan-live/src/main/java/com/ruixuan/isc/service/impl/KuaishouPromoterServiceImpl.java

@@ -256,8 +256,8 @@ public class KuaishouPromoterServiceImpl implements IKuaishouPromoterService {
             promoter.setMediaId("1");
         }
 
-        if ("2".equals(promoter.getMediaId())) {
-            // 快手 同一达人ID 不能绑定到多个渠道角色用户上
+//        if ("2".equals(promoter.getMediaId())) {
+            // 快手、抖音 同一达人ID 不能绑定到多个渠道角色用户上
             String roleKey = sysUserService.getRoleKeyByUserId(promoter.getUserId());
             if (roleKey.contains("bd")) {
                 List<JSONObject> keys = kuaishouPromoterMapper.getBoundPromoterRoleKey(promoter.getPromoterId());
@@ -272,7 +272,7 @@ public class KuaishouPromoterServiceImpl implements IKuaishouPromoterService {
                     }
                 }
             }
-        }
+//        }
         //查询 设置可绑定达人数
         Integer count = kuaishouPromoterMapper.getUserPromotersCount(promoter.getUserId(), promoter.getMediaId());
         if (Check.isNotNull(count)) {