不为别的,只为做一个连自己都羡慕的人

上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 28 下一页
摘要: 1.postgres按照多个字段排序 select * from news where "news_id"=1922 or "relative_id"=1922 order by nversion ,version desc 2.postgres创建索引 CREATE INDEX fk_cls_id 阅读全文
posted @ 2020-10-22 11:02 升级打怪 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 1.方法一: router.post('/downloadPdf',(req,res)=>{ // let { filename,mimeType } = req.body; let { filename,mimeType } = req.query; // var path="public/pdf 阅读全文
posted @ 2020-10-13 13:55 升级打怪 阅读(1939) 评论(0) 推荐(3) 编辑
摘要: 阅读全文
posted @ 2020-10-12 13:43 升级打怪 阅读(151) 评论(0) 推荐(0) 编辑
摘要: fs.stat(path.join(__dirname, '../public/showPdf/'+filename+'.'+type),function(err,stats){ // 获取文件的大小; console.log(stats.size);// 获取文件最后一次访问的时间; consol 阅读全文
posted @ 2020-10-12 13:41 升级打怪 阅读(2875) 评论(0) 推荐(0) 编辑
摘要: 1. 三目运算符切换类名 <view :class="[clsFlag ? 'finish1' : 'finish']" @click="submit" >提交</view> 2.uniapp获取输入框中的内容 <template> <view> <text class="name">原密码</te 阅读全文
posted @ 2020-09-17 13:23 升级打怪 阅读(284) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-09-17 10:06 升级打怪 阅读(576) 评论(0) 推荐(0) 编辑
摘要: import cv2 def getVideoPng(_videoPath, _pngPath): # vidcap = cv2.VideoCapture("C:\\Users\\sswc\\Desktop\\gai2\\public\\showPdf\\6f3db1f9-e247-4aa5-bca 阅读全文
posted @ 2020-09-15 15:08 升级打怪 阅读(2076) 评论(0) 推荐(0) 编辑
摘要: from moviepy.editor import * def samllVideoGif(_videoPath, _videoGifPath): # _videoPath = "C:\\Users\\sswc\\Desktop\\gai2\\public\\showPdf\\6f3db1f9-e 阅读全文
posted @ 2020-09-15 15:07 升级打怪 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 1.再使用layui中form表单,想要再操作结束之后作一个提示,写了代码,但是一直不提示,后面发现是因为使用layui中的form表单做提交的时候,就会出现自动刷新,想要禁止这种操作,可以将button标签用a标签代替。 <div class="form-group"> <div class="c 阅读全文
posted @ 2020-09-15 13:47 升级打怪 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 刚开始拿到这个需求是很烧脑的,因为我们要实现的是文件的预览,当碰到文件时word的时候,就很麻烦了,找了好多案例也没着急合适的,后面再一个不经意间,看到了libreoffice,它是再linux系统下使用的,确定我们的系统安装了libreoffice,并且做好了配置之后,我们就可以用node实现wo 阅读全文
posted @ 2020-09-09 15:32 升级打怪 阅读(3614) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 28 下一页