Browse Source

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

luoshi 6 months ago
parent
commit
5c55f79fab

+ 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");