diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java index 562c73a..c97895c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java @@ -803,7 +803,6 @@ public class AppController extends BaseController * @return {@code AjaxResult} */ @ApiOperation("APP查询版本信息") - @Log(title = "APP查询版本信息", businessType = BusinessType.OTHER) @GetMapping("/version/info") public AjaxResult queryVersionInformation(){ String localPath = RuoYiConfig.getAppInfoPath(); diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java index 45aa5e5..7a79d67 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java @@ -114,6 +114,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter .antMatchers("/druid/**").anonymous() .antMatchers("/wechat/login/**").anonymous() .antMatchers("/api/app/hospital/list").anonymous() + .antMatchers("/api/app/version/info").anonymous() .antMatchers("/common/upload").anonymous() // 除上面外的所有请求全部需要鉴权认证 .anyRequest().authenticated()