dev环境加入design回调配置
This commit is contained in:
@@ -71,6 +71,9 @@ public class PythonService {
|
||||
@Value("${access.python.generate_sr_port}")
|
||||
private String srServicePort;
|
||||
|
||||
@Value("${design.callback.url}")
|
||||
private String callbackUrl;
|
||||
|
||||
@Resource
|
||||
private PythonTAllInfoService pythonTAllInfoService;
|
||||
|
||||
@@ -231,6 +234,7 @@ public class PythonService {
|
||||
List<DesignPythonObject> objects = new ArrayList<>();
|
||||
designPythonObjects.setObjects(objects);
|
||||
designPythonObjects.setProcess_id(processId);
|
||||
designPythonObjects.setCallback_url(callbackUrl);
|
||||
|
||||
long pinPrintNum = calculateDesignPinPrintNum(elementVO.getPrintBoardElements());
|
||||
long noPinPrintNum = calculateDesignNoPinPrintNum(elementVO.getPrintBoardElements(), elementVO.getDesignNum());
|
||||
|
||||
@@ -18,4 +18,6 @@ public class DesignPythonObjects {
|
||||
List<Library> addLibrary;
|
||||
|
||||
private String requestId;
|
||||
|
||||
private String callback_url;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user