package org.dromara.job.snailjob;


import com.aizuda.snailjob.client.job.core.annotation.JobExecutor;
import com.aizuda.snailjob.client.job.core.dto.JobArgs;
import com.aizuda.snailjob.client.model.ExecuteResult;

import org.dromara.zhishu.service.IPddService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@JobExecutor(name = "catsGetJobExecutor")
public class CatsGetJobExecutor {

    @Autowired
    public IPddService pddService;

    //todo  拿不到未支付订单
    //增量订单 （30分钟之内）
    public ExecuteResult jobExecute(JobArgs jobArgs) throws Exception {

        //todo -获取图书类目导航栏信息
//        pddService.getCats(15543L);

        return ExecuteResult.success("-----获取图书类目导航栏信息-----");
    }






}
