浏览代码

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

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