Commit 3eb72c6f authored by maoying's avatar maoying

添加权限验证参数

parent 91b765a7
...@@ -165,6 +165,7 @@ public class RemoteSecurityService { ...@@ -165,6 +165,7 @@ public class RemoteSecurityService {
if(ObjectUtils.isEmpty(toke)){ if(ObjectUtils.isEmpty(toke)){
toke = getLogin(dPasswordAuthModel); toke = getLogin(dPasswordAuthModel);
}else{ }else{
RequestContext.setProduct(productWeb);
if (!TokenOperation.refresh(toke.getToke())) { if (!TokenOperation.refresh(toke.getToke())) {
toke = getLogin(dPasswordAuthModel); toke = getLogin(dPasswordAuthModel);
} }
......
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