摘要: private static String getMsgCode() { int n = 6; StringBuilder code = new StringBuilder(); Random ran = new Random(); for (int i = 0; i < n; i++) { cod 阅读全文
posted @ 2021-09-17 15:13 秋呀秋 阅读(40) 评论(0) 推荐(0)
摘要: $("#activityType").click(function(e){ if(e.target==$("#bb")[0]){ var bb=document.getElementById('bb'); bb.className="active"; $("#aa").removeClass("active"); ... 阅读全文
posted @ 2018-07-26 15:16 秋呀秋 阅读(2414) 评论(0) 推荐(0)
摘要: 错误信息: 错误信息: nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory) nginx: [error] open() "/usr/local/nginx/logs 阅读全文
posted @ 2018-07-26 15:09 秋呀秋 阅读(557) 评论(0) 推荐(0)
摘要: spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/dbgril?characterEncoding=utf-8 spring.data 阅读全文
posted @ 2018-07-04 14:56 秋呀秋 阅读(1149) 评论(0) 推荐(0)
摘要: 参考地址:http://blog.csdn.net/blueheart20/article/details/52909775 ps:除了要加载依赖之外 还要安装lombok插件 阅读全文
posted @ 2018-07-04 14:54 秋呀秋 阅读(837) 评论(0) 推荐(0)
摘要: Application 启动类 要和父目录平级 阅读全文
posted @ 2018-07-04 14:46 秋呀秋 阅读(403) 评论(0) 推荐(0)
摘要: 1 2 3 图片 4 5 6 提交 7 /** * 文件上传 ... 阅读全文
posted @ 2018-07-04 14:39 秋呀秋 阅读(238) 评论(0) 推荐(0)
摘要: //url乱码,有时候要解码2次才能成功 String url=URLDecoder.decode(URLDecoder.decode(returnUrl, "UTF-8"),"UTF-8"); 示例: http%25253A%25252F%25252Fsell.com %25252F%252523 阅读全文
posted @ 2018-07-04 14:35 秋呀秋 阅读(532) 评论(0) 推荐(0)