摘要: redis执行redis-server –service-install redis.windows.conf jar包命令写入.bat文件里(java -jar 路径+项目名.jar),把bat文件放入 C:\Users\Lawrence\AppData\Roaming\Microsoft\Win 阅读全文
posted @ 2020-10-16 10:43 _Lawrence 阅读(205) 评论(0) 推荐(0)
摘要: mvn -Dmaven.test.skip=true package 阅读全文
posted @ 2020-10-10 11:49 _Lawrence 阅读(784) 评论(0) 推荐(0)
摘要: Ctrl+Alt+T打开终端 shutdown -h now 立即关机 shutdown -h 5 五分钟后关机 poweroff 立即关机 shutdown -r 立即重启 shutdown -r 5 五分钟后重启 reboot立即重启 init 0关机 init 6 重启 打开software 阅读全文
posted @ 2020-09-11 10:35 _Lawrence 阅读(232) 评论(0) 推荐(0)
摘要: redis-server.exe redis.windows.conf --maxheap 200MB 启动闪退问题:redis-server.exe redis.windows.conf Creating Server TCP listening socket *:6379: bind: No s 阅读全文
posted @ 2020-08-03 15:04 _Lawrence 阅读(1438) 评论(0) 推荐(0)
摘要: 第一种:responseType: 'blob' ,这种方式用于文件在磁盘中 vue: download(index,row){ var ts = this; axios.post(this.paths.baseURL+'file/downloadFile', {path:row.zurl}, {r 阅读全文
posted @ 2020-07-17 16:54 _Lawrence 阅读(1060) 评论(0) 推荐(0)
摘要: 在原来ul基础上加 :http-request="uploadFile"即可,其他函数都可以用,只是请求方式自定义。 把文件放入formDate中 <el-form-item> <el-upload class="upload-demo" ref="upload2" :auto-upload="fa 阅读全文
posted @ 2020-07-09 17:47 _Lawrence 阅读(4708) 评论(0) 推荐(0)
摘要: GROUP_CONCAT (name) name。按name条件查询的话加上distinct。不是的话用group by分组 阅读全文
posted @ 2020-07-08 11:42 _Lawrence 阅读(2231) 评论(0) 推荐(0)
摘要: case:例 CASE WHEN p.hd > 320 THEN '重大风险' WHEN p.hd >= 160 AND p.hd <= 320 THEN '较大风险' WHEN p.hd >= 70 AND p.hd <= 159 THEN '一般风险' ELSE '低风险' END AS fj 阅读全文
posted @ 2020-07-08 11:13 _Lawrence 阅读(601) 评论(0) 推荐(0)
摘要: mysql5: grant all privileges on *.* to root@"%" identified by "."; GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT O 阅读全文
posted @ 2020-06-15 16:30 _Lawrence 阅读(534) 评论(0) 推荐(0)
摘要: <template> <div class="homepage-count"> <br><br><br> <el-row> <el-col :span="6"> <div id="main1" ref="chart1"></div> </el-col> <el-col :span="6"> <div 阅读全文
posted @ 2020-06-04 09:07 _Lawrence 阅读(756) 评论(0) 推荐(0)