非登录用户获取APP版本信息

master
gongzhenkun 2 years ago
parent 40cb427bf4
commit d2f73da63b

@ -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();

@ -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()

Loading…
Cancel
Save