Commit 5a333582 authored by 高建强's avatar 高建强

item:应急处置执行推送优化

parent fd47a95c
......@@ -441,8 +441,9 @@ public class ContingencyInstanceImpl implements IContingencyInstance {
@Override
public ContingencyPlanInstance updateExtendColumn(ContingencyPlanInstance contingencyPlanInstance) {
String appKey = RequestContext.getAppKey();
String token = RequestContext.getToken();
if (StringUtils.isBlank(token)) {
if (StringUtils.isBlank(appKey) || StringUtils.isBlank(token)) {
Toke toke = remoteSecurityService.getServerToken();
RequestContext.setToken(toke.getToke());
RequestContext.setProduct(toke.product);
......
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