|
@@ -1,7 +1,6 @@
|
|
|
package org.springblade.gateway.login_gateway.scheduled;
|
|
package org.springblade.gateway.login_gateway.scheduled;
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import org.springblade.gateway.common_gateway.util.PlatformSettingUtil;
|
|
|
|
|
import org.springblade.sing.user.service.ILoginUserService;
|
|
import org.springblade.sing.user.service.ILoginUserService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
@@ -17,8 +16,6 @@ import org.springframework.scheduling.annotation.Scheduled;
|
|
|
public class UserScheduled {
|
|
public class UserScheduled {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private ILoginUserService loginUserService;
|
|
private ILoginUserService loginUserService;
|
|
|
- @Autowired
|
|
|
|
|
- private PlatformSettingUtil platformSettingUtil;
|
|
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 0 0 * * ?")
|
|
@Scheduled(cron = "0 0 0 * * ?")
|
|
|
public void updateUserVote(){
|
|
public void updateUserVote(){
|