|
@@ -92,10 +92,10 @@ public class AppUserLiveDividedTask {
|
|
|
}
|
|
|
liveRateList.add(userAgent);
|
|
|
|
|
|
- // 只需要获取直属上级
|
|
|
+ /*// 只需要获取直属上级
|
|
|
if(num == 1){
|
|
|
return;
|
|
|
- }
|
|
|
+ }*/
|
|
|
num ++;
|
|
|
getLiveRate(userAgent.getPid(), liveRateList, num);
|
|
|
|
|
@@ -185,7 +185,7 @@ public class AppUserLiveDividedTask {
|
|
|
finTranRecord.setToUid(appUser.getUserid());
|
|
|
finTranRecord.setUid(appUser.getUserid());
|
|
|
//主播记录礼物来源为刷礼物的人
|
|
|
- if(null != superTran && i == 0){
|
|
|
+ if(null != superTran && item.getUserId().equals(appUser.getUserid())){
|
|
|
finTranRecord.setFromUid(superTran.getUid());
|
|
|
}else{
|
|
|
finTranRecord.setFromUid(item.getUserId());
|