|
@@ -271,7 +271,7 @@ public class KuaishouPromoterServiceImpl implements IKuaishouPromoterService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public String supplementInfo() {
|
|
|
+ public Result supplementInfo() {
|
|
|
List<KuaishouPromoter> list = kuaishouPromoterMapper.getFailInfo();
|
|
|
Thread thread = new Thread() {
|
|
|
@Override
|
|
@@ -284,7 +284,9 @@ public class KuaishouPromoterServiceImpl implements IKuaishouPromoterService {
|
|
|
}
|
|
|
};
|
|
|
thread.start();
|
|
|
- return "共计" + list.size() + "条,数据补充中...";
|
|
|
+ List<Long> promoters = new ArrayList<>();
|
|
|
+ list.forEach(kuaishouPromoter -> promoters.add(kuaishouPromoter.getPromoterId()));
|
|
|
+ return Result.success("共计" + list.size() + "条,数据补充中...", promoters);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
@@ -313,7 +315,7 @@ public class KuaishouPromoterServiceImpl implements IKuaishouPromoterService {
|
|
|
|
|
|
@Override
|
|
|
public KuaishouPromoter getOnlyPromoterInfoByUserId(Long promoterId, Long userId) {
|
|
|
- return kuaishouPromoterMapper.getOnlyPromoterInfoByUserId(promoterId,userId);
|
|
|
+ return kuaishouPromoterMapper.getOnlyPromoterInfoByUserId(promoterId, userId);
|
|
|
}
|
|
|
|
|
|
@Override
|