摘要:
pom test <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>h 阅读全文
摘要:
1、用户接口,有密码字段 在新建会员,修改,修改密码时都要注意 pwd字段加密 今天就是用户新密码没有加密就和数据库里保存的旧密码比对,总是报错 2、代码小的抽取 几个接口最后都是修改用户信息,那么可以把dao的修改抽取出来 抽取成modifyUser ,传入修改后的对象,进行修改 3、反复的问题 阅读全文
该文被密码保护。 阅读全文
摘要:
注意,request body中获取参数时使用流获取,但是request的流只能使用一次, 给出的办法就是在获取流之前对流进行复制否则会出异常 (request body miss) spring请求的链式执行顺序为Filter-->拦截器-->controller 1:首先自定义一个类继承Http 阅读全文
摘要:
String jsonStr =""; JSONObject jsonObject = JSONObject.parseObject(jsonStr ); String openId = jsonObject.getString("openId"); 阅读全文
摘要:
linxu 使用出异常。。暂未解决 阅读全文
摘要:
Resource resource =new ClassPathResource("dictionary.txt"); BufferedReader reader=null; //reader=new BufferedReader(new FileReader(file));这样在web运行的时候,读取会乱码 reade... 阅读全文
摘要:
nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module 参考: https://www.cnblogs.com/ghjbk/p/6744131.html 1 Nginx如果未开启SSL模块,配置Https时提示错误 切换到源码包 阅读全文