feat(mcwl): 接口放行

master
yang 2025-02-21 16:28:32 +08:00
parent 3f19cd60ea
commit 1bf1ab1619
3 changed files with 6 additions and 3 deletions

View File

@ -18,7 +18,7 @@ import java.util.ArrayList;
import java.util.List;
/***
*
*
*/
@RestController
@RequestMapping("memberLevel")

View File

@ -150,7 +150,10 @@ public class SecurityConfig {
"/system/user/selectUserById",
"/system/dict/data/type/**",
"/attention/selectAttention",
"/attention/selectUserInfo"
"/attention/selectUserInfo",
"/WorkFlowVersion/selectVersionByWorkId",
"/memberLevel/list",
"/memberLevel/getMemberBenefitList"
).permitAll()
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()

View File

@ -97,7 +97,7 @@ public class SysUserAttentionServiceImpl extends ServiceImpl<SysUserAttentionMap
public SysUserInfo selectUserInfo(Long userId) {
if (userId == null) {
userId = SecurityUtils.getUserId();
userId = SecurityUtils.getUserIdMax();
}