Commit 2db3d272 authored by xuepeng.chang's avatar xuepeng.chang

判空

parent 5788ce21
......@@ -441,7 +441,7 @@ public class SessionServiceImpl implements ISessionService {
*/
private void deleteOthrer(String token) {
try{
if(token.contains(prefix)){
if(StringUtils.isNotEmpty(token) &&token.contains(prefix)){
HashMap<String, String> parameters = new HashMap<>();
HashMap<String, String> headers = new HashMap<>();
headers.put("qg-tenant-id", TenantUtil.TENANT_DEFAULT.toString());
......
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