Commit 13147498 by 焦凯

Merge branch 'develop' of gitlab.beecode.cn:kunlun/xyst_dinas/xyst_dinas_backend into develop

parents 049079dc 3e6485fd
...@@ -253,7 +253,7 @@ public class SecurityConfig { ...@@ -253,7 +253,7 @@ public class SecurityConfig {
http.sessionManagement().maximumSessions(1); http.sessionManagement().maximumSessions(1);
http.csrf().disable(); http.csrf().disable();
http.cors().disable(); http.cors().disable();
http.antMatcher("/warehouse/**").authorizeRequests() http.antMatcher("/warehouse/api/**").authorizeRequests()
// .antMatchers("/warehouse/user").permitAll() // .antMatchers("/warehouse/user").permitAll()
.anyRequest().authenticated(); .anyRequest().authenticated();
......
...@@ -94,7 +94,7 @@ public class DinasTypeDaoImpl extends AbstractBaseDao implements DinasTypeDao, D ...@@ -94,7 +94,7 @@ public class DinasTypeDaoImpl extends AbstractBaseDao implements DinasTypeDao, D
KObject staff = AminoContextHolder.getContext().getStaff(); KObject staff = AminoContextHolder.getContext().getStaff();
kobject.set("modifyTime", new Date()); kobject.set("modifyTime", new Date());
kobject.set("modifier", staff.getUuid("id")); kobject.set("modifier", staff.getUuid("id"));
kobject.set("del", true); kobject.set("del", false);
template.merge(kobject); template.merge(kobject);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment