摘要: 1、导入jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> 注意: 先进入QQ邮箱,点击设置,再点击 阅读全文
posted @ 2021-04-25 15:22 shuzu渊 阅读(1235) 评论(0) 推荐(0) 编辑
摘要: <el-radio-group v-model="checkedCities" v-for="(city) in cities" :key="city.id" @change="handleCheckedCitiesChange(city.id)" class="w_radio"> <el-radi 阅读全文
posted @ 2020-08-21 10:28 shuzu渊 阅读(1356) 评论(0) 推荐(0) 编辑
摘要: 项目处于运行状态下无法访问,第一步查看磁盘状态 1、查看磁盘状态df -h 发现内存已经被用完了,排查大于100M的文件 2、查找100M以上的文件find / -size +100M |xargs ls -lh 发现Nginx的日志文件access.log占用了35G,将其删除 3、删除文件rm 阅读全文
posted @ 2020-08-21 10:12 shuzu渊 阅读(5079) 评论(0) 推荐(0) 编辑
摘要: 我按照MySQL5.7版本配置了my.cnf文件,添加了sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTIT 阅读全文
posted @ 2020-07-07 10:06 shuzu渊 阅读(2026) 评论(0) 推荐(0) 编辑
摘要: 安装完MySQL后,使用sudo grep 'temporary password' /var/log/mysqld.log查看初始密码,No such file or directory,找了很多方法修改密码都不能修改成功,最后找到一个简单粗暴的方法 1、创建一个新用户 CREATE USER ' 阅读全文
posted @ 2020-07-06 15:45 shuzu渊 阅读(4697) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.multipart.MultipartFile; import java.io.*; import java.tex 阅读全文
posted @ 2020-05-21 16:42 shuzu渊 阅读(1086) 评论(0) 推荐(0) 编辑
摘要: 1、博客皮肤先换成darkgreentrip 2、页面定制CSS代码 #home { margin: 0 auto; width: 80%;/*原始65*/ min-width: 980px;/*页面顶部的宽度*/ background-color: rgba(245, 245, 245, 0.7) 阅读全文
posted @ 2020-05-21 16:02 shuzu渊 阅读(156) 评论(0) 推荐(0) 编辑
摘要: import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.PropertyDescriptor; public class CopyUtils { public static void Copy(Obj 阅读全文
posted @ 2020-05-21 14:49 shuzu渊 阅读(4393) 评论(0) 推荐(1) 编辑
摘要: 1、在pom.xml文件中配置引入jar包 <!--配置quartz,定时任务--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-quartz</artifactId 阅读全文
posted @ 2020-05-21 14:38 shuzu渊 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 百度地图和高德地图用户获取国内地址,区别在于高德地图的精确度比百度地图要高一点,而高德地图不支持国外地址,根据需求选择,ArcGIS地图获取国外地址 1、根据需求选择地图,申请自己的key 高德地图:https://lbs.amap.com/api/webservice/guide/api/geor 阅读全文
posted @ 2020-05-21 14:27 shuzu渊 阅读(1454) 评论(0) 推荐(1) 编辑