package com.jjt.task;

import com.jjt.utils.IotService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * token定时任务
 *
 * @author wukai
 * @date 2025-1-17 23:28:32
 */
@Component("token")
public class TokenTask {
    @Resource
    private IotService iotService;

    /**
     * 设置iot Token到redis
     */
    public void iot() {
        iotService.setToken();
    }


}
