|
@@ -23,6 +23,7 @@ import com.xxl.job.core.context.XxlJobHelper;
|
|
|
import com.xxl.job.core.handler.annotation.XxlJob;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -52,6 +53,8 @@ public class RepairMixtureHandler {
|
|
|
private ISceneEditInfoService sceneEditInfoService;
|
|
|
@Autowired
|
|
|
private RedisUtil redisUtil;
|
|
|
+ @Value("${4dkk.laserService.basePath}")
|
|
|
+ private String laserHost;
|
|
|
|
|
|
@XxlJob("repairMixtureHandler")
|
|
|
private void repairMixtureHandler(){
|
|
@@ -93,7 +96,7 @@ public class RepairMixtureHandler {
|
|
|
|
|
|
ScenePlus scenePlus = scenePlusService.getById(scenePlusExt.getPlusId());
|
|
|
|
|
|
- String url = "/laser/4dage/mixture/{{sceneCode}}";
|
|
|
+ String url = laserHost + "/laser/4dage/mixture/{{sceneCode}}";
|
|
|
url = url.replace("{sceneCode}", scenePlus.getNum());
|
|
|
HttpUtil.post(url, "");
|
|
|
});
|