spring mvc 登录和非登陆资源控制配置

来源:互联网 发布:q币回收软件 编辑:程序博客网 时间:2024/06/06 04:41
 <mvc:interceptors>        <mvc:interceptor>            <mvc:mapping path="/**"/>            <bean class="com.xx.LoginInterceptor">                <property name="notInterceptPathList">                    <list>                        <value>/api/account/signin</value>                                 <value>/api/config/</value>                           </list>                </property>            </bean>        </mvc:interceptor>    </mvc:interceptors>
0 0