摘要: 一般设置在spring-servlet.xml里面设置 <!-- 对转向页面的路径解析。prefix:前缀, suffix:后缀 --> <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> 阅读全文
posted @ 2018-05-19 16:51 宇枫 阅读(4559) 评论(0) 推荐(0) 编辑
摘要: @RequestMapping(value="/redir/authcode") public ModelAndView getAuthCode(){ String authUrl="https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id="+contant.APPID+"&scope=au... 阅读全文
posted @ 2018-05-16 15:02 宇枫 阅读(1994) 评论(0) 推荐(0) 编辑
摘要: pom文件依赖 <dependency> <groupId>com.google.zxing</groupId> <artifactId>core</artifactId> <version>3.1.0</version> </dependency> 阅读全文
posted @ 2018-05-14 17:45 宇枫 阅读(3940) 评论(0) 推荐(0) 编辑
摘要: 下面是调用方法 下面是javabean 希望对你们有帮助 阅读全文
posted @ 2018-05-14 16:07 宇枫 阅读(19793) 评论(0) 推荐(0) 编辑
摘要: 该方法对于两种不同的jar包有两种不同的意义 ,a,b通常是两个结构相似的javabean,注意:a,b里的定义类型名称必须一致才能复制 引用的是org.springframework.beans 则是把a 的内容复制到b 引用的是org.apache.commons.beanutils 则是把b的 阅读全文
posted @ 2018-05-14 10:52 宇枫 阅读(2793) 评论(0) 推荐(0) 编辑
摘要: 使用 CardQueryResponseBO parseResultBean =JSON.parseObject(outParams, CardQueryResponseBO.class); 阅读全文
posted @ 2018-05-10 17:53 宇枫 阅读(4454) 评论(0) 推荐(0) 编辑
摘要: 1 public static Map transStringToMap(String mapString, String separator, String pairSeparator) { 2 Map map = new HashMap(); 3 String[] fSplit = mapString.split(separator); 4 ... 阅读全文
posted @ 2018-05-10 17:19 宇枫 阅读(6202) 评论(1) 推荐(1) 编辑
摘要: 第一种: 需要在主类头加上 @EnableAutoConfiguration 第二种: pom文件是否加了 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter< 阅读全文
posted @ 2018-05-10 14:40 宇枫 阅读(12636) 评论(0) 推荐(1) 编辑
摘要: 调用方法 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.10.1</version> </dependency> 阅读全文
posted @ 2018-05-10 11:22 宇枫 阅读(2139) 评论(0) 推荐(0) 编辑
摘要: 注:更详细https://blog.csdn.net/androidboy365/article/details/50540202/ 不要在 foreach 循环里进行元素的 remove/add 操作。remove 元素请使用 Iterator 方式,如果并发操作,需要对 Iterator 对象加 阅读全文
posted @ 2018-05-09 16:53 宇枫 阅读(459) 评论(0) 推荐(0) 编辑