package com.zfire.jiasm.syncdata.upload.jdmall;


import com.zfire.jiasm.syncdata.service.JdmallService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class jdmallSync {
    @Autowired
    JdmallService jdmallService;


    @Scheduled(fixedDelayString = "${jdyygy}")
    private void process() {
        jdmallService.syncData();
    }
}
