| | |
| | | import cn.hutool.core.util.IdUtil; |
| | | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/sync/service/impl/DingSyncServiceImpl.class */ |
| | | |
| | | public class DingSyncServiceImpl implements IDingSyncService { |
| | | private static final Logger log = LoggerFactory.getLogger(DingSyncServiceImpl.class); |
| | | private final IUserOauthService userOauthService; |
| | |
| | | this.employeePostService = employeePostService; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.sync.service.IDingSyncService |
| | | |
| | | public SyncResultVO syncImmediately() { |
| | | |
| | | OuterAppConfig dingAppConfig = this.outerAppConfigService.getAppConfig(OuterAppConfigConstant.DING); |
| | |
| | | } |
| | | } |
| | | |
| | | @Override // org.springblade.modules.sync.service.IDingSyncService |
| | | |
| | | @Transactional |
| | | public Boolean scanCodeBind(String code, String state) { |
| | | OuterAppConfig outerAppConfig = this.outerAppConfigService.getAppConfig(OuterAppConfigConstant.DING); |
| | |
| | | } |
| | | } |
| | | |
| | | @Override // org.springblade.modules.sync.service.IDingSyncService |
| | | |
| | | public Boolean unbind(Long id, String source) { |
| | | UserOauth userOauth = this.userOauthService.getOne(Wrappers.<UserOauth>lambdaQuery().eq(UserOauth::getUserId, id).eq(UserOauth::getSource, source)); |
| | | /* |
| | |
| | | }, source)));*/ |
| | | } |
| | | |
| | | @Override // org.springblade.modules.sync.service.IDingSyncService |
| | | |
| | | public String getDingUserId(String code) { |
| | | try { |
| | | OuterAppConfig outerAppConfig = this.outerAppConfigService.getAppConfig(OuterAppConfigConstant.DING); |