dev环境加入design回调配置
This commit is contained in:
@@ -71,6 +71,9 @@ public class PythonService {
|
|||||||
@Value("${access.python.generate_sr_port}")
|
@Value("${access.python.generate_sr_port}")
|
||||||
private String srServicePort;
|
private String srServicePort;
|
||||||
|
|
||||||
|
@Value("${design.callback.url}")
|
||||||
|
private String callbackUrl;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private PythonTAllInfoService pythonTAllInfoService;
|
private PythonTAllInfoService pythonTAllInfoService;
|
||||||
|
|
||||||
@@ -231,6 +234,7 @@ public class PythonService {
|
|||||||
List<DesignPythonObject> objects = new ArrayList<>();
|
List<DesignPythonObject> objects = new ArrayList<>();
|
||||||
designPythonObjects.setObjects(objects);
|
designPythonObjects.setObjects(objects);
|
||||||
designPythonObjects.setProcess_id(processId);
|
designPythonObjects.setProcess_id(processId);
|
||||||
|
designPythonObjects.setCallback_url(callbackUrl);
|
||||||
|
|
||||||
long pinPrintNum = calculateDesignPinPrintNum(elementVO.getPrintBoardElements());
|
long pinPrintNum = calculateDesignPinPrintNum(elementVO.getPrintBoardElements());
|
||||||
long noPinPrintNum = calculateDesignNoPinPrintNum(elementVO.getPrintBoardElements(), elementVO.getDesignNum());
|
long noPinPrintNum = calculateDesignNoPinPrintNum(elementVO.getPrintBoardElements(), elementVO.getDesignNum());
|
||||||
|
|||||||
@@ -18,4 +18,6 @@ public class DesignPythonObjects {
|
|||||||
List<Library> addLibrary;
|
List<Library> addLibrary;
|
||||||
|
|
||||||
private String requestId;
|
private String requestId;
|
||||||
|
|
||||||
|
private String callback_url;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -157,4 +157,5 @@ ollama.url=http://localhost:11434/api/chat
|
|||||||
google.client.id=157095842121-kdd1fdf8m8nudvj9sprstb2k2prnf9e4.apps.googleusercontent.com
|
google.client.id=157095842121-kdd1fdf8m8nudvj9sprstb2k2prnf9e4.apps.googleusercontent.com
|
||||||
#google.client.secret=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
|
#google.client.secret=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
|
||||||
google.client.secret=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
|
google.client.secret=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
|
||||||
google.redirect.uri=https://develop.api.aida.com.hk/api/third/party/auth/google_callback
|
google.redirect.uri=https://develop.api.aida.com.hk/api/third/party/auth/google_callback
|
||||||
|
design.callback.url=https://develop,api.aida.com.hk/api/third/party/receiveDesignResults
|
||||||
Reference in New Issue
Block a user