03 2020 档案

摘要:查看:https://blog.csdn.net/chachapaofan/article/details/88697452 阅读全文
posted @ 2020-03-31 10:00 L12345 阅读(140) 评论(0) 推荐(0)
摘要:防火墙、开放端口号 查看某端口(6379)是否打开 firewall-cmd --query-port=6379/tcp 如果返回no则端口没有开启 firewall-cmd --add-port=6379/tcp [--permanent] (加 --permanent 永久有效),返回succe 阅读全文
posted @ 2020-03-29 21:29 L12345 阅读(187) 评论(0) 推荐(0)
摘要:属性上添加注解:@JSONField(format="yyyy-MM-dd HH:mm:ss") import com.alibaba.fastjson.annotation.JSONField; /** * 创建时间 */ @JSONField(format="yyyy-MM-dd HH:mm:s 阅读全文
posted @ 2020-03-26 13:37 L12345 阅读(1082) 评论(0) 推荐(0)
摘要:方法加上@Transactional 注解,手动数据回滚 TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); 遇到的两个问题: 1. org.springframework.transaction.NoTran 阅读全文
posted @ 2020-03-26 11:29 L12345 阅读(5939) 评论(1) 推荐(3)
摘要:redis命令参考大全:http://redisdoc.com/index.html 1.上官网下载redis上传到linux并解压 tar zxvf redis-5.0.8.tar.gz 2.进入解压后的目录下进行编译、安装 未安装gcc的先装gcc yum install gcc -c++ 编译 阅读全文
posted @ 2020-03-25 21:46 L12345 阅读(203) 评论(0) 推荐(0)
摘要:一、解决跨域、过虑options请求问题 1.创建过虑类 import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import javax.se 阅读全文
posted @ 2020-03-24 23:56 L12345 阅读(3253) 评论(0) 推荐(0)
摘要:1.浏览器随便打开一个网站,F12打开控制台 2.输入请求代码回车 $.ajax({ url:"http://localhost:8080/sys/topHotNews/update",//发送的路径 type:"post",//发送的方式 data:'{"newsId":"5","type":"1 阅读全文
posted @ 2020-03-24 01:31 L12345 阅读(5570) 评论(0) 推荐(1)
摘要:可参考EasyCode文档说明: https://gitee.com/makejava/EasyCode/wikis/pages 1.打开idea搜索并安装easyCode插件(以下截图为安装成功之后的截图) 2.安装成功之后可以找到插件自带的模板根据需求自行修改 a.根据需求自行添加数据库类型跟实 阅读全文
posted @ 2020-03-22 12:23 L12345 阅读(2371) 评论(0) 推荐(0)
摘要:<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <ar 阅读全文
posted @ 2020-03-15 00:20 L12345 阅读(293) 评论(0) 推荐(0)
摘要:报错如下: 12-Mar-2020 17:26:21.425 严重 [main] org.apache.catalina.startup.ContextConfig.beforeStart 上下文[/gxast]的异常修复docBase java.io.IOException: Unable to 阅读全文
posted @ 2020-03-13 09:18 L12345 阅读(2742) 评论(0) 推荐(0)
摘要:权限标志使用遇到的坑 1.以下3种权限标志里有“play”,调用接口时一直报无权限异常,没有"play"则正常调用,@RequiresPermissions("sys:play:update") @RequiresPermissions("sys:player:update") @RequiresP 阅读全文
posted @ 2020-03-09 20:35 L12345 阅读(292) 评论(0) 推荐(0)
摘要:后台报错: org.apache.shiro.authz.AuthorizationException: Not authorized to invoke method: public java.lang.String com.cj.shirodemo.controller.UserControll 阅读全文
posted @ 2020-03-07 22:53 L12345 阅读(1452) 评论(0) 推荐(0)
摘要:转载于:https://blog.csdn.net/hukechui5880/article/details/90268361 如何让表格的工具按钮列显示更多的时候也能点击触发table的事件 layUI列表中,操作栏按钮过多时会自动隐藏,点击弹出隐藏按钮后,按钮本身绑定得监听事件失效.(原文链接) 阅读全文
posted @ 2020-03-06 11:00 L12345 阅读(2705) 评论(2) 推荐(0)
摘要:解决nginx转发websocket报400错误 转载链接:https://www.cnblogs.com/duanweishi/p/9286461.html 说明:由于个人服务器上面有多个项目,配置了二级域名,需要对二级域名进行转发,在转发工作这快采取了大名鼎鼎的nginx。在这之前所有的项目运行 阅读全文
posted @ 2020-03-02 19:43 L12345 阅读(2134) 评论(0) 推荐(0)