chb 7 年之前
父节点
当前提交
95874f0814

+ 1 - 1
saicLogistics/src/main/java/com/fuzamei/web/UserAction.java

@@ -210,7 +210,7 @@ public class UserAction {
 			userService.deleteFromUserId(userIds);
 			return JSONUtil.getJsonMap(200, true, "删除成功", null);
 		} catch (Exception e) {
-			return JSONUtil.getJsonMap(500, false, "删除失败", null);
+			return JSONUtil.getJsonMap(500, false, "删除失败:"+e.getMessage(), null);
 		}
 
 	} 

+ 3 - 3
saicLogistics/src/main/resources/spring-mvc.xml

@@ -35,12 +35,12 @@
 	<tx:annotation-driven transaction-manager="transactionManager"
 		proxy-target-class="true" />
 	<!-- 对token拦截验证 (为方便测试,测试环境给注释掉) -->
-<!--     	<mvc:interceptors>
+    	<mvc:interceptors>
 		<mvc:interceptor>
-			拦截路径
+			<!-- 拦截路径 -->
 			<mvc:mapping path="/**" />
 			<mvc:exclude-mapping path="/login"/>
 			<bean class="com.fuzamei.interceptor.TokenInterceptor" />
 		</mvc:interceptor>
-	</mvc:interceptors>   -->  
+	</mvc:interceptors>    
 </beans>