|
@@ -495,8 +495,10 @@ public class WeComThirdPartyAccountServiceImpl implements WeComThirdPartyAccount
|
|
|
for (ThirdPartWeComStaff staff : staffList) {
|
|
for (ThirdPartWeComStaff staff : staffList) {
|
|
|
ThirdPartyAccountConfigParam configParam = buildThirdPartyAccountConfigParam(staff);
|
|
ThirdPartyAccountConfigParam configParam = buildThirdPartyAccountConfigParam(staff);
|
|
|
saveAccountConfig(configParam);
|
|
saveAccountConfig(configParam);
|
|
|
- apiClient.setCallbackUrl(new SetCallbackUrlRequest(staff.getThirdUuid(), callbackUrl));
|
|
|
|
|
- weComThirdPartyService.saveStaffQrCode(staff.getThirdUuid());
|
|
|
|
|
|
|
+ if (staff.getStatus() == 0) {
|
|
|
|
|
+ apiClient.setCallbackUrl(new SetCallbackUrlRequest(staff.getThirdUuid(), callbackUrl));
|
|
|
|
|
+ weComThirdPartyService.saveStaffQrCode(staff.getThirdUuid());
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|