@@ -56,7 +56,6 @@ public class TPersonalImgController extends BaseController
/**
* 查询个人页 图片列表
*/
- @PreAuthorize("@ss.hasPermi('system:img:list')")
@ApiOperation("个人图片列表")
@GetMapping("/all")
public AjaxResult all(TPersonalImg tPersonalImg)
@@ -62,7 +62,6 @@ public class TPersonalPageController extends BaseController
* 获取个人页详细信息
- @PreAuthorize("@ss.hasPermi('system:personalPage:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
@@ -115,6 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.antMatchers("/druid/**").anonymous()
// 放行api业务
.antMatchers("/api/**").anonymous()
+ .antMatchers("/template/**").anonymous()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated()
.and()