摘要:
http://rensanning.iteye.com/blog/2218978 阅读全文
摘要:
mysql: driverClass=com.mysql.jdbc.Driver connectionURL=jdbc:mysql://localhost:3306/shiro userId=root password=root oracle: driverClass=oracle.jdbc.dri 阅读全文
摘要:
pom.xml generatorConfig.xml 我用的intellij idea的maven插件执行 生成的代码类似如下: 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?> <!--Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the N 阅读全文
摘要:
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.connection.RedisConnectionFactory; import org.sp... 阅读全文
摘要:
1.在windows7中安装vmware 2.在vmware中安装centos7 3.禁用centos7自带的firewalld.service 4.安装iptables防火墙 5.安装Redis 3.2.6 is the latest stable version. 6.修改redis.conf配 阅读全文
摘要:
import java.text.SimpleDateFormat; import java.util.Date; /** * Created by pc on 2017/1/25. */ public class LRUCache { private Object data; private Date lastTime; public LRUCache(Obj... 阅读全文
摘要:
package com.paic.pay.merchant.web; import com.paic.pay.merchant.entity.MerchantUser; import com.paic.pay.merchant.exception.Error; import com.paic.pay.merchant.exception.UserNotFoundException; impor... 阅读全文
摘要:
String passwordEncode = new BASE64Encoder().encodeBuffer(password.getBytes());//sun.misc.BASE64Encoder()编码有换行符需要手动去除passwordEncode.replace("\n","");pa 阅读全文
摘要:
1.在chrome安装postman 2.在chrome打开postman 浏览器输入:chrome://apps/ 选择你的postman 3.在你看到的postman中 normal中可以看到参数有不同类型的,这也是http请求报文的不同方式。 form-data表单提交 x-www-form- 阅读全文