上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: /** * 通过奖品列表中的概率抽取奖品 * * @param list * @return */private GiftPackageRule getPrize(List<GiftPackageRule> list) { if (list == null || list.size() < 1) r 阅读全文
posted @ 2018-11-22 16:25 天涯过者 阅读(208) 评论(0) 推荐(0) 编辑
摘要: String str = "{\"origin\":\"BBC\",\"origin_coupon_id\":51,\"name\":\"123\",\"start_time\":1537763820,\"end_time\":1540874220,\"duration\":\"\",\"validity_type\":0,\"type\":1,\"tota 阅读全文
posted @ 2018-09-25 14:04 天涯过者 阅读(3583) 评论(0) 推荐(0) 编辑
摘要: 使用Apache Commons FileUpload组件上传文件时总是返回null,调试发现ServletFileUpload对象为空,在Spring Boot中有默认的文件上传组件,在使用ServletFileUpload时需要关闭Spring Boot的默认配置 , 禁用MultipartRe 阅读全文
posted @ 2018-09-11 11:47 天涯过者 阅读(6652) 评论(4) 推荐(1) 编辑
摘要: 先用ffmpeg把abc.mp4文件转换为abc.ts文件: ffmpeg -y -i abc.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb abc.ts 再用ffmpeg把abc.ts文件切片并生成playlist.m3u8文件,5秒一个切片: ffmpeg -i abc.ts -c copy -map 0 -f segm... 阅读全文
posted @ 2018-09-04 15:27 天涯过者 阅读(3310) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_39913200/article/details/80859897 在安装的idea下面的bin目录下面有2个文件 : 一个是idea64.exe.vmoptions,还有一个是idea.exe.vmoptions(如上图篮框)。 用记事本打 阅读全文
posted @ 2018-08-30 21:07 天涯过者 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 首先,在resources目录下先建立static文件夹,在建立/1/index.html文件 http://localhost/1/index.html 和 http://localhost/1/index.html都可以访问index.html页面 阅读全文
posted @ 2018-08-29 14:53 天涯过者 阅读(716) 评论(0) 推荐(0) 编辑
摘要: java -jar spring.jar 这个命令当你 ctrl c 之后,程序就自动结束了java jar spring.jar & &是指在后台运行,但当用户推出(挂起)的时候,命令自动也跟着退出 阅读全文
posted @ 2018-08-28 16:28 天涯过者 阅读(1259) 评论(0) 推荐(0) 编辑
摘要: 安装python-software-properties 首先添加ppa 然后更新系统 最后开始安装 查看版本 阅读全文
posted @ 2018-08-28 11:02 天涯过者 阅读(12648) 评论(0) 推荐(1) 编辑
摘要: var params = paramsMap()["params"]; 阅读全文
posted @ 2018-08-23 12:17 天涯过者 阅读(2779) 评论(0) 推荐(0) 编辑
摘要: /**************************************时间格式化处理************************************/ function dateFtt(fmt, date) { var o = { "M+": date.getMonth() + 1, //月份... 阅读全文
posted @ 2018-07-30 16:42 天涯过者 阅读(149) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页