摘要: 异常:The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is'include'. 阅读全文
posted @ 2021-08-11 20:20 不带R的墨菲特 阅读(73) 评论(0) 推荐(0)
摘要: import axios from 'axios' //引用axiosimport {getCookie} from './util' //引用刚才我们创建的util.js文件,并使用getCookie方法 // axios 配置axios.defaults.timeout = 5000; axio 阅读全文
posted @ 2021-08-11 17:30 不带R的墨菲特 阅读(75) 评论(0) 推荐(0)
摘要: BTree意思是多路平衡查找树,它是一种数据结构。MySQL的InnoDB和MyISAM存储引擎,都是使用它来存储索引。BTree可细分为B-Tree和B+Tree,B+Tree是B-Tree的升级版。MySQL的InnoDB和MyISAM存储引擎使用的是B+Tree。 B-Tree 为了描述B-T 阅读全文
posted @ 2021-08-11 14:05 不带R的墨菲特 阅读(676) 评论(0) 推荐(0)
摘要: 导致sql语句跳过索引,直接全表搜索的情况 1。第一种数据量问题超过一定数据量导致索引失效,直接跳过索引全表扫描 这里有一个有意思的问题,那就是其实我的表里边create_time字段是加了索引的,但可以看到type=ALL,说明没有使用到索引,这是为什么呢? 开始我以为是< >符号的问题,因为我看 阅读全文
posted @ 2021-08-11 11:09 不带R的墨菲特 阅读(123) 评论(0) 推荐(0)