|
@@ -723,7 +723,7 @@ fun retry(taskBean: TaskBean, builder: StringBuilder, serialNumber: Int, peopleN
|
723
|
723
|
return
|
724
|
724
|
}
|
725
|
725
|
} else {
|
726
|
|
- LogUtil.e(tag + "该字符串不是数字!!")
|
|
726
|
+ LogUtil.e(tag + "该字符串不是数字!!" + allPeople.text.toString())
|
727
|
727
|
continue
|
728
|
728
|
}
|
729
|
729
|
} else {
|
|
@@ -767,43 +767,6 @@ fun retry(taskBean: TaskBean, builder: StringBuilder, serialNumber: Int, peopleN
|
767
|
767
|
}
|
768
|
768
|
}
|
769
|
769
|
}
|
770
|
|
-// if (WeworkController.weworkService.testNameList.size > 0) {
|
771
|
|
-// LogUtil.e(tag + "有剩余人数 人群池 " + WeworkController.weworkService.testNameList.size)
|
772
|
|
-// if (owner_type == 2) {
|
773
|
|
-// number = number + 1
|
774
|
|
-// }
|
775
|
|
-// LogUtil.e(tag + "判断 number:" + number + " 群限制数量: " + Constant.GROUP_PERSON_NUMBER)
|
776
|
|
-// if (number < Constant.GROUP_PERSON_NUMBER) {
|
777
|
|
-// LogUtil.e(tag + "群人数不满 继续点全部群成员拉人拉人")
|
778
|
|
-// threePoint1(taskBean, 0, "", serialNumber, false)
|
779
|
|
-// } else {
|
780
|
|
-// LogUtil.e(tag + "群人数已满 继续新群创建")
|
781
|
|
-// }
|
782
|
|
-// } else {
|
783
|
|
-// LogUtil.e(tag + "此时没有剩余人数可用!!")
|
784
|
|
-// //如果群数量没有满足
|
785
|
|
-// if (serialNumber < Constant.maxGroups) {
|
786
|
|
-// LogUtil.e(tag + "群数量(${Constant.maxGroups})没有满足,当前是:$serialNumber")
|
787
|
|
-// Constant.retry++
|
788
|
|
-// if (Constant.retry < 6) {
|
789
|
|
-// var peopleNumber = Constant.GROUP_PERSON_NUMBER - 1
|
790
|
|
-// LogUtil.e(tag + "重新获取粉丝列表第 ${Constant.retry} 次!")
|
791
|
|
-// var needPeopleNumber = totalPerson - (number + (serialNumber - number) * (Constant.GROUP_PERSON_NUMBER - 1))
|
792
|
|
-// retryNet(taskBean, Constant.retry, Constant.corpid, needPeopleNumber, 2, peopleNameList, serialNumber, peopleNumber, companyname)
|
793
|
|
-// } else {
|
794
|
|
-// LogUtil.e(tag + "已经重新获取粉丝列表5次了!")
|
795
|
|
-// //返回首页
|
796
|
|
-// LogUtil.e(tag + "返回首页")
|
797
|
|
-// returnHome(taskBean, 0)
|
798
|
|
-// if (Constant.retry == 5) {
|
799
|
|
-// if (WeworkController.weworkService.testNameList.size <= 0) {
|
800
|
|
-// LogUtil.e(tag + "粉丝已经用尽了,提前结束,不再建群")
|
801
|
|
-// return
|
802
|
|
-// }
|
803
|
|
-// }
|
804
|
|
-// }
|
805
|
|
-// }
|
806
|
|
-// }//清燕 没有创建成功
|
807
|
770
|
} else {
|
808
|
771
|
LogUtil.e(tag + "allPeoples 为空了")
|
809
|
772
|
var number = 1;
|