禅道bug修改
This commit is contained in:
parent
6b88066ec0
commit
c56cf4cfa5
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
// 登陆日志
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
#{userCode},
|
||||
</if>
|
||||
#{sex}, #{orgId},#{loginType}, #{roleId}, #{userType},
|
||||
#{state},
|
||||
1,
|
||||
#{password},
|
||||
<if test="teamId != null and teamId != ''">
|
||||
#{teamId},
|
||||
|
|
|
|||
Loading…
Reference in New Issue