浏览代码

场景查看权限校验

dengsixing 1 年之前
父节点
当前提交
2af59350dc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/scene/Interceptor/CheckViewBizAuthAspect.java

+ 1 - 1
src/main/java/com/fdkankan/scene/Interceptor/CheckViewBizAuthAspect.java

@@ -195,7 +195,7 @@ public class CheckViewBizAuthAspect {
 						throw new BusinessException(ErrorCode.PASSWORD_ERROR);
 						throw new BusinessException(ErrorCode.PASSWORD_ERROR);
 					}
 					}
 					headers.put("userName", userName);
 					headers.put("userName", userName);
-					headers.put("password", password);
+					headers.put("password", Base64Converter.decode(password));
 					checkNumAuth = myClient.checkNumAuth(url, headers);
 					checkNumAuth = myClient.checkNumAuth(url, headers);
 					if(checkNumAuth.getCode() == ServerCode.SUCCESS.code()){
 					if(checkNumAuth.getCode() == ServerCode.SUCCESS.code()){
 						data = checkNumAuth.getData();
 						data = checkNumAuth.getData();