Browse Source

fix bug

release_toaliyun_real
xiaohanzi 5 years ago
parent
commit
19d6f0aca6
2 changed files with 3 additions and 3 deletions
  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 View File

@@ -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 View File

@@ -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"/>


Loading…
Cancel
Save