|
|
@@ -28,8 +28,9 @@ import com.goafanti.customer.bo.LockingReleaseBo;
|
|
|
import com.goafanti.customer.service.CustomerService;
|
|
|
import com.goafanti.user.service.UserService;
|
|
|
|
|
|
+
|
|
|
+
|
|
|
@Component
|
|
|
-@Controller
|
|
|
public class ReleaseUserTask {
|
|
|
@Resource
|
|
|
private CustomerService customerService;
|
|
|
@@ -50,8 +51,8 @@ public class ReleaseUserTask {
|
|
|
*
|
|
|
* @throws InterruptedException
|
|
|
*/
|
|
|
-// @Scheduled(cron = "0 55 15 * * ?")
|
|
|
- @Scheduled(cron = "0 0 1 * * ?")
|
|
|
+ @Scheduled(cron = "0 55 11 * * ?")
|
|
|
+// @Scheduled(cron = "0 0 1 * * ?")
|
|
|
public void startTask() {
|
|
|
try {
|
|
|
pushUserDays();
|