package com.sckw.example.service;

import com.sckw.core.utils.StringUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @desc: xxl-job测试
 * @author: yzc
 * @date: 2023-06-15 11:25
 */
@Service
@Slf4j
public class TestXxlJobService {
    public void test(String param) {
        if (StringUtils.isNotBlank(param)) {
            log.info("xxl-job任务参数不为空，参数为：{}", param);
        } else {
            log.info("xxl-job任务参数为空····");
        }
    }
}
