Commit 35ccf1eb authored by zhangsen's avatar zhangsen

根据代码扫描工具修改严重问题

parent 918c6b9c
...@@ -57,14 +57,11 @@ public class ProjectOverFlowController extends BaseController { ...@@ -57,14 +57,11 @@ public class ProjectOverFlowController extends BaseController {
String appKey = RequestContext.getAppKey(); String appKey = RequestContext.getAppKey();
String product = RequestContext.getProduct(); String product = RequestContext.getProduct();
//分支线程执行流程 //分支线程执行流程
Thread t1 = new Thread(new Runnable() { Thread t1 = new Thread(() -> {
@Override RequestContext.setToken(token);
public void run() { RequestContext.setAppKey(appKey);
RequestContext.setToken(token); RequestContext.setProduct(product);
RequestContext.setAppKey(appKey); iProjectInitiationService.overProjectFlowStart(dto);
RequestContext.setProduct(product);
iProjectInitiationService.overProjectFlowStart(dto);
}
}); });
t1.start(); t1.start();
return ResponseHelper.buildResponse(dto); return ResponseHelper.buildResponse(dto);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment