上一页 1 2 3 4 5 6 7 8 ··· 14 下一页
摘要: 报错 form表单提交 Content type 为 multipart/form-data 时,不需要使用@RequestBody注解,去掉即可 阅读全文
posted @ 2020-07-30 09:43 Sea_wxx 阅读(1286) 评论(0) 推荐(0) 编辑
摘要: 1.下载jar http://www.sauronsoftware.it/projects/jave/download.php 2.将下载的jar加入到项目中 3.代码 @RequestMapping(value = "uploadBatchFile",method = RequestMethod. 阅读全文
posted @ 2020-05-29 09:41 Sea_wxx 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 问题:使用Configuration注解后,调用接口进入不了过滤器 解决:忘记给启动类配置扫描了,加上扫描之后ok 阅读全文
posted @ 2020-05-22 10:28 Sea_wxx 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 开发中使用的数据库是mysql idea中设置,将方言设置如下,然后从mybatis xml 点击表名就可以跳转到相应的表和字段上了 阅读全文
posted @ 2020-04-26 10:21 Sea_wxx 阅读(664) 评论(0) 推荐(0) 编辑
摘要: 1.JRebel 热部署 2.Free Mybatis plugin free-idea-mybatis是一款增强idea对mybatis支持的插件,主要功能如下: 生成mapper xml文件 快速从代码跳转到mapper及从mapper返回代码 mybatis自动补全及语法错误提示 集成myba 阅读全文
posted @ 2020-04-20 17:19 Sea_wxx 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 文档 https://opendocs.alipay.com/open/309/106236 阅读全文
posted @ 2020-04-16 16:21 Sea_wxx 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 因为是静态分离的,nginx处理静态文件,所以问题就在nginx配置文件中 将对应的css,js,图片信息也使用本地代理 server { listen 80; listen [::]:80; server_name shopping.kingsuper.net; access_log off; i 阅读全文
posted @ 2020-04-15 14:43 Sea_wxx 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1. 云主机安全组端口开放3306端口 2. 打开iptables 3306端口 PS: 只有开启了iptables才需要此步骤!如果您的操作系统为CentOS系列: iptables -I INPUT 4 -p tcp -m state --state NEW -m tcp --dport 330 阅读全文
posted @ 2020-04-15 12:01 Sea_wxx 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 对于mysql数据库,redis数据库等需要开通远程访问的按照如下操作 例如: 1.打开iptables 3306端口 iptables -I INPUT 4 -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT service ipta 阅读全文
posted @ 2020-04-14 15:47 Sea_wxx 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 注意事项: oneinstack 需要开放端口 iptables -I INPUT 4 -p tcp -m state --state NEW -m tcp --dport 8088 -j ACCEPTservice iptables save #保存iptables规则 云服务器也需要开放端口 W 阅读全文
posted @ 2020-04-14 10:24 Sea_wxx 阅读(269) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页