|
@@ -617,6 +617,12 @@ public class WeComThirdPartyServiceImpl implements WeComThirdPartyService {
|
|
|
List<ThirdPartWeComStaff> staffList = thirdPartWeComStaffMapper.selectByExample(example);
|
|
List<ThirdPartWeComStaff> staffList = thirdPartWeComStaffMapper.selectByExample(example);
|
|
|
if (CollectionUtils.isNotEmpty(staffList)) {
|
|
if (CollectionUtils.isNotEmpty(staffList)) {
|
|
|
for (ThirdPartWeComStaff staff : staffList) {
|
|
for (ThirdPartWeComStaff staff : staffList) {
|
|
|
|
|
+ InitRequest initRequest = new InitRequest();
|
|
|
|
|
+ initRequest.setVid(String.valueOf(staff.getThirdStaffId()));
|
|
|
|
|
+ initRequest.setProxySituation(0);
|
|
|
|
|
+ initRequest.setDeverType("ipad");
|
|
|
|
|
+ apiClient.init(initRequest);
|
|
|
|
|
+ apiClient.setCallbackUrl(new SetCallbackUrlRequest(staff.getThirdUuid(), callbackUrl));
|
|
|
UuidRequest uuidRequest = new UuidRequest();
|
|
UuidRequest uuidRequest = new UuidRequest();
|
|
|
uuidRequest.setUuid(staff.getThirdUuid());
|
|
uuidRequest.setUuid(staff.getThirdUuid());
|
|
|
apiClient.automaticLogin(uuidRequest);
|
|
apiClient.automaticLogin(uuidRequest);
|