1 js里 定义var contextPath="http://localhost:8081";
2 其他页面引入js url: contextPath+"/home/getequipmentList",