fix(系统设置): #1006043;#1006059 解决修改系统参数设置-基本配置时报错
【【系统设置】-【基本设置】-修改并发数保存后提示500 error】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001006043;--bug=1006059 --user=宋天阳 【系统设置】修改并发数报错 https://www.tapd.cn/55049933/s/1037885
This commit is contained in:
parent
d7249d8d7f
commit
78cf5a5c91
|
@ -340,9 +340,11 @@ public class ApiTestEnvironmentService {
|
|||
tcpConfigObj.put("reUseConnection", false);
|
||||
tcpConfigObj.put("nodelay", false);
|
||||
tcpConfigObj.put("closeConnection", false);
|
||||
if(project.getMockTcpPort() != null && project.getMockTcpPort().intValue() != 0){
|
||||
tcpConfigObj.put("server", tcpSocket);
|
||||
tcpConfigObj.put("port", project.getMockTcpPort().intValue());
|
||||
if(project != null){
|
||||
if(project.getMockTcpPort() != null && project.getMockTcpPort().intValue() != 0){
|
||||
tcpConfigObj.put("server", tcpSocket);
|
||||
tcpConfigObj.put("port", project.getMockTcpPort().intValue());
|
||||
}
|
||||
}
|
||||
|
||||
JSONObject object = new JSONObject();
|
||||
|
|
Loading…
Reference in New Issue