摘要: nginx配置访问前端工程 C:\Users\Administrator\Desktop\CRM系统\crm-view 找到nginx安装目录打开conf/nginx.conf添加如下节点配置 http://127.0.0.1:8081/view/user.html 阅读全文
posted @ 2018-12-25 10:27 HaniLucky 阅读(495) 评论(0) 推荐(0) 编辑
摘要: ​ 反向代理呢:即以代理服务器来接受internet上的连接请求,然后将请求转发给内部网络上的服务器,并将从服务器上得到的结果返回给internet上请求连接的客户端,此时代理服务器对外就表现为一个服务器。 ​ 删除自带Root项目将项目war包编译解压后项目名修改为ROOT ​ 访问路径:http 阅读全文
posted @ 2018-12-25 10:25 HaniLucky 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1.shiro 整合 springBoot 实现基本的角色权限控制 https://github.com/HowieYuan/shiro/tree/master/shiroSimple 2. shiro + springBoot 整合 JWT https://github.com/HowieYuan 阅读全文
posted @ 2018-12-24 15:33 HaniLucky 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 场景 保存订单数据和订单详情数据时需要将订单的主键作为关联子段添加到明细表中,需要将保存订单时的主键返回给供保存明细表时使用 添加xml中新增数据时的配置 阅读全文
posted @ 2018-12-24 14:57 HaniLucky 阅读(2302) 评论(0) 推荐(0) 编辑
摘要: 原文: 作者:逍遥不羁 来源:CSDN 原文:https://blog.csdn.net/javaloveiphone/article/details/52371706 版权声明:本文为博主原创文章,转载请附上博文链接! 处理结果 阅读全文
posted @ 2018-12-24 14:42 HaniLucky 阅读(707) 评论(0) 推荐(0) 编辑
摘要: ### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual 阅读全文
posted @ 2018-12-23 21:03 HaniLucky 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 415 数据格式不正确 后台用json接收 1.将表单数据转换成json数据 2.设置contentType:"application/json" 413 前后台参数不一致 404 资源不存在 阅读全文
posted @ 2018-12-21 13:17 HaniLucky 阅读(765) 评论(0) 推荐(0) 编辑
摘要: 将查询结果集插入到表中(适用批量插值) 将结果集插入 不需要添加VALUES 具体的数据需要添加VALUES 阅读全文
posted @ 2018-12-21 10:48 HaniLucky 阅读(387) 评论(0) 推荐(0) 编辑
摘要: myBatis查询报错 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 标红的N 阅读全文
posted @ 2018-12-20 14:47 HaniLucky 阅读(3034) 评论(0) 推荐(0) 编辑
摘要: 参考[1].在前后端分离的SpringBoot项目中集成Shiro权限框架 参考[2]. Springboot + Vue + shiro 实现前后端分离、权限控制 以及跨域的问题也有涉及 阅读全文
posted @ 2018-12-19 22:47 HaniLucky 阅读(507) 评论(0) 推荐(0) 编辑