SpringMvc: <mvc:cors> <mvc:mapping path="/**" allowed-origins="*" allow-credentials="true" max-age="1800" allowed-methods="GET,POST,PUT,DELETE,PATCH,O ...
分类:
编程语言 时间:
2020-03-27 23:25:07
阅读次数:
147
解决方法:敲git rebase 然后按提示执行就行了,如果rebase 发生冲突的话,则修改,修改完后git add -u filename,然后git rebase --continue ,直到没有冲突为止。不需要commit 。最后再上code(参考链接 参考链接2)出现问题的原因:在本地分支 ...
分类:
其他好文 时间:
2020-03-27 17:06:30
阅读次数:
108
[5]For exmaple, Configure that outgoing packets through the Server from Internal network(10.0.0.0/24) are allowed and forwarded to External side. # se ...
分类:
其他好文 时间:
2020-03-27 09:16:05
阅读次数:
77
基本的上都是请求方式的问题,get请求不需要加RequestBody注解,其他的请求需要 ...
分类:
其他好文 时间:
2020-03-25 23:45:43
阅读次数:
207
记住:永远使用 :binlog_format=row 记住:尽量使max_allowed_packet大,如:max_allowed_packet=32M:sets max size of any single message between the MySQL server and clients ...
分类:
数据库 时间:
2020-03-25 21:19:38
阅读次数:
95
本地root连接mysql 显示错误 host '127.0.0.1' is not allowed to connect to this mysql server 登录数据库 mysql -u root -p use mysql grant all privileges on *.* to 'ro ...
分类:
数据库 时间:
2020-03-25 21:10:08
阅读次数:
73
django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. | Django报错 ...
分类:
数据库 时间:
2020-03-25 18:59:34
阅读次数:
78
一个简单的爬虫案例 from scrapy_redis.spiders import RedisSpider import os,urllib.request,time class XiaohuaSpider(scrapy.Spider): name = 'xiaohua' allowed_doma ...
分类:
其他好文 时间:
2020-03-25 10:24:41
阅读次数:
58
单个文件上传: // 通过MultipartFile获取上传的单个文件流 public @ResponseBody String uploadFile(@RequestParam(value = "file", required = false) MultipartFile mFile, Strin ...
分类:
Web程序 时间:
2020-03-24 11:02:21
阅读次数:
120
一、Spring中事务的隔离级别 此处涉及到数据库事务的四大特征:ACID 隔离性引发的问题 ; MySQL默认隔离级别是:REPEATABLE_READ 二、Spring中事务的传播行为 可以分为三类: 1、PROPAGATION_REQUIRED(默认类型)、PROPAGATION_SUPPOR ...
分类:
编程语言 时间:
2020-03-23 17:00:13
阅读次数:
79