导出bug

parent 9a20c443
...@@ -375,16 +375,16 @@ public class UserQueryLogController { ...@@ -375,16 +375,16 @@ public class UserQueryLogController {
// return JsonResult.buildErrorStateResult("缺少授权信息",null); // return JsonResult.buildErrorStateResult("缺少授权信息",null);
// } // }
String token=request.getHeader("x-auth-token"); // String token=request.getHeader("x-auth-token");
if(token==null||token.equals("")){ // if(token==null||token.equals("")){
LOGGER.info("token为空,非法查询"); // LOGGER.info("token为空,非法查询");
return JsonResult.buildErrorStateResult("缺少授权信息",null); // return JsonResult.buildErrorStateResult("缺少授权信息",null);
} // }
//
String userName=checkUserToken(token); // String userName=checkUserToken(token);
if(userName.equals("")){ // if(userName.equals("")){
return JsonResult.buildErrorStateResult("未授权查询",null); // return JsonResult.buildErrorStateResult("未授权查询",null);
} // }
//输入enter换行\n //输入enter换行\n
if(org.apache.commons.lang3.StringUtils.isEmpty(keyValues)){ if(org.apache.commons.lang3.StringUtils.isEmpty(keyValues)){
return JsonResult.buildErrorStateResult("请输入查询条件",null); return JsonResult.buildErrorStateResult("请输入查询条件",null);
......
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