소스 검색

修改授权文件加密/解密接口鉴权

luoshi 6 달 전
부모
커밋
5c55f79fab
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/main/java/com/qmth/ops/api/controller/admin/DeployController.java

+ 0 - 2
src/main/java/com/qmth/ops/api/controller/admin/DeployController.java

@@ -160,14 +160,12 @@ public class DeployController {
     }
 
     @PostMapping("/license/decrypt")
-    @Aac(auth = false)
     public Object decryptLicense(@RequestParam MultipartFile file, @RequestParam(required = false) String version)
             throws Exception {
         return AppLicenseUtil.parseLicense(file.getBytes(), version);
     }
 
     @PostMapping("/license/encrypt")
-    @Aac(auth = false)
     public void encryptLicense(HttpServletResponse response, @RequestBody Object body) throws Exception {
         response.setContentType("application/octet-stream; charset=utf-8");
         response.setHeader("Content-Disposition", "attachment; filename=app.lic");