删除定时更新 user vip
This commit is contained in:
@@ -17,9 +17,9 @@ public class UserVipServiceImpl extends ServiceImpl<UserVipDao, UserVip> impleme
|
|||||||
return baseMapper.selectOne(queryWrapper);
|
return baseMapper.selectOne(queryWrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Scheduled(cron="0 */1 * * * ?")
|
// @Scheduled(cron="0 */1 * * * ?")
|
||||||
public void getEndVip() {
|
public void getEndVip() {
|
||||||
baseMapper.updateUserVipByEndTime();
|
// baseMapper.updateUserVipByEndTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user