禅道bug修改

This commit is contained in:
liang.chao 2025-04-16 18:42:55 +08:00
parent 6b88066ec0
commit c56cf4cfa5
3 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ public class BnsSecurityConfig extends WebSecurityConfigurerAdapter {
http.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS);
http.authorizeRequests()
.antMatchers("/", "/*.html", "/favicon.ico", "/css/**", "/js/**", "/fonts/**", "/layui/**", "/img/**"
, "/webjars/**", "/pages/**","/login",
, "/webjars/**", "/pages/**","/login","/loginApp/**",
"/statics/**","/websocketServer/**","/api/download/**")
.permitAll().anyRequest().authenticated();
http.formLogin().loginProcessingUrl("/login")

View File

@ -34,7 +34,7 @@ public class TokenServiceImpl implements TokenService {
@Override
public Token saveToken(LoginUser loginUser) {
// String token = UUID.randomUUID().toString();
String token=JwtHelper.createToken(loginUser);
String token = JwtHelper.createToken(loginUser);
loginUser.setToken(token);
cacheLoginUser(loginUser);
// 登陆日志

View File

@ -68,7 +68,7 @@
#{userCode},
</if>
#{sex}, #{orgId},#{loginType}, #{roleId}, #{userType},
#{state},
1,
#{password},
<if test="teamId != null and teamId != ''">
#{teamId},