摘要: WebApplicationContext wac = WebApplicationContextUtils.getWebApplicationContext(getServletContext()); String profile = wac.getEnvironment().getActiveProfiles()[0]; 阅读全文
posted @ 2018-04-08 08:50 梦见舟 阅读(5795) 评论(0) 推荐(0) 编辑