xiaohanzi 5 лет назад
Родитель
Сommit
19d6f0aca6
2 измененных файлов: 3 добавлений и 3 удалений
  1. +1
    -1
      mallinkAdmin/src/main/java/com/iformall/config/ShiroConfig.java
  2. +2
    -2
      mallinkService/src/main/resources/mapper/SysNoticeMapper.xml

+ 1
- 1
mallinkAdmin/src/main/java/com/iformall/config/ShiroConfig.java Просмотреть файл

@@ -154,7 +154,7 @@ public class ShiroConfig {
filterChainDefinitionMap.put("/logout", "authc");

filterChainDefinitionMap.put("/**", "corsFilter,token,authc");
// filterChainDefinitionMap.put("/**", "anon");
filterChainDefinitionMap.put("/**", "anon");


shiroFilterFactoryBean.setFilterChainDefinitionMap(filterChainDefinitionMap);


+ 2
- 2
mallinkService/src/main/resources/mapper/SysNoticeMapper.xml Просмотреть файл

@@ -3,8 +3,8 @@
<mapper namespace="com.iformall.mapper.SysNoticeMapper">
<resultMap id="BaseResultMap" type="com.iformall.domain.po.SysNotice">
<id column="id" jdbcType="BIGINT" property="id"/>
<result column="type" jdbcType="INTEGER" property="tenantId"/>
<result column="content" jdbcType="VARCHAR" property="parentTenantId"/>
<result column="type" jdbcType="INTEGER" property="type"/>
<result column="content" jdbcType="VARCHAR" property="content"/>
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
<result column="status" jdbcType="INTEGER" property="status"/>


Загрузка…
Отмена
Сохранить