|
|
@@ -63,8 +63,9 @@ public class KeycloakController {
|
|
|
return Response.buildSuccess();
|
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0/1 * * * * ?")
|
|
|
+ @Scheduled(cron = "* 0/10 * * * ?")
|
|
|
public void askUserOppenId() {
|
|
|
+ log.info("update wechat openId");
|
|
|
for (String userId : keycloakService.getUsersMap().keySet()) {
|
|
|
String oppenId = iWeChatService.askUser(userId);
|
|
|
if (!StringUtils.isEmpty(oppenId)) {
|