Commit ce54201c by 18356073052

优化

1 parent 87c2f4b9
......@@ -133,7 +133,7 @@ public class WeMaterialController extends BaseController {
return AjaxResult.success();
}
@PreAuthorize("@ss.hasPermi('wechat:material:temporaryMaterialMediaId')")
//@PreAuthorize("@ss.hasPermi('wechat:material:temporaryMaterialMediaId')")
@Log(title = "获取素材media_id", businessType = BusinessType.OTHER)
@PostMapping("/temporaryMaterialMediaId")
@ApiOperation("获取素材media_id")
......
......@@ -125,7 +125,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.antMatchers("/wecom/user/getUserInfo").anonymous()
// .antMatchers("/common/uploadFile2Cos").anonymous()
.antMatchers("/wecom/material/temporaryMaterialMediaId").anonymous()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated()
.and()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!