Merge branch 'feature/community-center' into preview

# Conflicts:
#	mcwl-framework/src/main/java/com/mcwl/framework/config/SecurityConfig.java
master
yang 2025-02-21 16:30:11 +08:00
commit 0e114c87c0
3 changed files with 5 additions and 3 deletions

View File

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

View File

@ -151,7 +151,9 @@ public class SecurityConfig {
"/system/dict/data/type/**",
"/attention/selectAttention",
"/attention/selectUserInfo",
"/WorkFlowVersion/selectVersionByWorkId"
"/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();
}