摘要: redis没有实现访问控制这个功能,但是它提供了一个轻量级的认证方式,可以编辑redis.conf配置来启用认证。 1、初始化Redis密码: 在配置文件中有个参数: requirepass 这个就是配置redis访问密码的参数; 比如 requirepass test123; (Ps:需重启Red 阅读全文
posted @ 2021-05-31 10:40 xuemeng11 阅读(85) 评论(0) 推荐(0)
摘要: 1、查看jdk的安装路径 [root@localhost /]# which java/usr/bin/java[root@localhost /]# ls -lrt /usr/bin/javalrwxrwxrwx. 1 root root 22 Jun 26 03:33 /usr/bin/java 阅读全文
posted @ 2020-07-03 16:09 xuemeng11 阅读(3268) 评论(0) 推荐(0)
摘要: 1、导入jar包 <!-- poi实现excel导入导出 用于报表的导出--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.15</version> </dependen 阅读全文
posted @ 2020-06-19 14:54 xuemeng11 阅读(1191) 评论(0) 推荐(0)
摘要: 1、前端页面 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content- 阅读全文
posted @ 2020-06-16 17:23 xuemeng11 阅读(248) 评论(0) 推荐(0)
摘要: 1、启动类加上注解 @EnableScheduling 2、导入jar包 <!-- druid 连接池配置--><!-- https://mvnrepository.com/artifact/com.alibaba/druid --><dependency> <groupId>com.alibaba 阅读全文
posted @ 2020-06-16 14:23 xuemeng11 阅读(210) 评论(0) 推荐(0)
摘要: 1.导入jar包 <!-- 分页插件 --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.0.4</version> </dependency 阅读全文
posted @ 2020-06-15 17:34 xuemeng11 阅读(2298) 评论(0) 推荐(0)
摘要: 1、批量查询 <select id="selUsersByUserIDs" resultMap = "BaseResultMap" parameterType="integer"> SELECT <include refid="Base_Column_List" /> from risk_user 阅读全文
posted @ 2020-04-09 09:53 xuemeng11 阅读(1227) 评论(0) 推荐(0)
摘要: 1、在nginx上进行配置 location /web/{ root D:/fxglxt/src/main/resources/static; index index.html index.htm; } location /fxglxt/{ proxy_pass http://127.0.0.1:8 阅读全文
posted @ 2020-03-17 18:57 xuemeng11 阅读(2235) 评论(0) 推荐(0)
摘要: 1、点击idea安装程序,一直下一步,在选32,还是64的时候打个对勾就行。 2、安装完毕,勾选打开按钮,点击完成,在进行下面步骤时一定要先打开idea 3、把JetbrainsIdesCrack-3.4-release-enc.jar包放到idea的bin目录下 4、修改 bin 目录下的 ide 阅读全文
posted @ 2020-03-17 11:59 xuemeng11 阅读(232) 评论(0) 推荐(0)
摘要: package com.xja.wechat.commons; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.H 阅读全文
posted @ 2020-03-10 10:41 xuemeng11 阅读(274) 评论(0) 推荐(0)