Browse Source

接入xxl-job,飞桨解析模块

wh-mc-dev
parent
commit
3317da8a93
1 changed files with 2 additions and 1 deletions
  1. 3
      src/main/java/com/qniao/zsh/infrastructure/util/LinuxCommandUtil.java

3
src/main/java/com/qniao/zsh/infrastructure/util/LinuxCommandUtil.java

@ -8,6 +8,7 @@ import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import java.io.BufferedReader;
import java.io.File;
@ -21,7 +22,7 @@ import java.nio.charset.StandardCharsets;
*/
@Slf4j
@Scope("prototype")
@Component
public class LinuxCommandUtil {
/**
* 运行scrapy的工具类

Loading…
Cancel
Save