摘要: php中的二个日期格式化函数:date()和gmdate()。 date -- 格式化一个本地时间/日期gmdate -- 格式化一个 GMT/UTC 日期/时间,返回的是格林威治标准时(GMT)。 假如,现在所在的时区是+8,那么服务器运行以下脚本返回的时间应该为:当前时间假定是2013-03-1 阅读全文
posted @ 2018-10-05 11:56 多啦C梦 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 【证书安装】 编辑Apache根目录下 conf/httpd.conf 文件,找到 #LoadModule ssl_module modules/mod_ssl.so 和 #Include conf/extra/httpd-ssl.conf,去掉前面的#号注释;编辑Apache根目录下 conf/e 阅读全文
posted @ 2018-09-23 15:08 多啦C梦 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 出现以上错误: 把 listen 443 ssl; server_name www.0668520.cn; #填写绑定证书的域名 再运行 nginx -t 测试,就没有出现黄色的错误了 阅读全文
posted @ 2018-06-30 14:04 多啦C梦 阅读(416) 评论(0) 推荐(0) 编辑
摘要: getUserInfo 引导用户去授权,界面设计 阅读全文
posted @ 2018-06-28 22:04 多啦C梦 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 微信小程序使用wxparse,有一个问题,就是我们在网页后台编辑器里面的图片如果上传的时候采用了相对路径,在wxparse里就不能正常显示,但是,如果在编辑器里直接上传成绝对的网络地址路径之后,如果万一以后换域名了。也是个问题。所以最好的方式就是让wxparse在使用的时候,自动添加域名前缀就可以了 阅读全文
posted @ 2018-06-17 17:28 多啦C梦 阅读(2884) 评论(0) 推荐(0) 编辑
摘要: 用SimpleDateFormat来转换 String转Date SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");Date date = sdf.parse("1999-09-09 12:09:12"); Date 阅读全文
posted @ 2018-06-08 17:13 多啦C梦 阅读(1826) 评论(0) 推荐(0) 编辑
摘要: java -jar -Dserver.port=9999 boot.jar 阅读全文
posted @ 2018-04-29 16:52 多啦C梦 阅读(10779) 评论(0) 推荐(0) 编辑
摘要: mvn clean package -Dmaven.test.skip=true 阅读全文
posted @ 2018-04-10 21:17 多啦C梦 阅读(1814) 评论(0) 推荐(0) 编辑
摘要: idea打包java可执行jar包 https://www.cnblogs.com/blog5277/p/5920560.html 阅读全文
posted @ 2018-04-10 09:29 多啦C梦 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 判断list集合不能为空,CollectionUtils.isEmpty(list) 阅读全文
posted @ 2018-04-06 17:11 多啦C梦 阅读(17276) 评论(1) 推荐(0) 编辑