package com.ssm.manage.utils;//package com.ssm.manage.utils;
//
//import org.apache.poi.ss.usermodel.DateUtil;
//import org.springframework.scheduling.annotation.EnableScheduling;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
//
////@Component
////@EnableScheduling
//public class TimerTask {
//
//
//    private static String phone = "13232703350";
//
//
//    /**
//     * 每天凌晨执行一次
//     */
//    @Scheduled(cron = "0 0 1 ? * L")
//    public void scheduledTask(){
////        String stringNow = DateUtil.stringNow();
////        int num = messageDao.resetMessageDayCount();
//        String s = WxHelper.makeQRcodeByPhone(phone, null);
//        if (null!=s) {
////            日志信息
//        }else{
////            日志信息
//        }
//    }
//}
