知行合一

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 37 下一页

2021年3月4日 #

摘要: 功能使用说明.首页加载分类数据的方式 (1)先渲染一级分类 (2)懒加载二级分类,(如鼠标hover一级分类时才开始加载对应的二级数据) 一、数据库表结构 category 分类表 create table `foodie-shop-dev`.category ( id int auto_incre 阅读全文
posted @ 2021-03-04 19:02 callbin 阅读(562) 评论(0) 推荐(0)

摘要: 1、使用AOP, 引入aop依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> 2、新增 ServiceL 阅读全文
posted @ 2021-03-04 18:38 callbin 阅读(122) 评论(0) 推荐(0)

摘要: 一、整合Swagger2文档API 1、pom.xml引入依赖 <!-- swagger2配置--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2 阅读全文
posted @ 2021-03-04 18:26 callbin 阅读(662) 评论(0) 推荐(0)

2021年3月1日 #

摘要: 阅读全文
posted @ 2021-03-01 22:45 callbin 阅读(88) 评论(0) 推荐(0)

该文被密码保护。 阅读全文
posted @ 2021-03-01 19:41 callbin 阅读(3) 评论(0) 推荐(0)

摘要: 一、Maven项目代码 1、foodie-dev父工程项目 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2 阅读全文
posted @ 2021-03-01 19:12 callbin 阅读(153) 评论(0) 推荐(0)

摘要: 1、项目会使用maven来构建一个聚合的分层项目。分层后的项目结构如下: 1)聚合工程里可以分为顶级项目(顶级工程、父工程)与子工程,这两者的关系其实就是父子继承的关系,子工程在maven里称之为模块(module),模块之间是平级,是可以相互依赖的。 2)子模块可以使用顶级工程里所有的资源(依赖) 阅读全文
posted @ 2021-03-01 17:43 callbin 阅读(280) 评论(0) 推荐(0)

2021年2月22日 #

摘要: 一、依赖包检查命令为: rpm -qa perl-DBI perl-DBD-MySQL perl-Time-HiRes perl-IO-Socket-SSL 如果有依赖包确实,可以使用下面的命令安装: yum install perl-DBI yum install perl-DBD-MySQL y 阅读全文
posted @ 2021-02-22 13:20 callbin 阅读(166) 评论(0) 推荐(0)

摘要: * -innodb非主键索引:叶子节点存储的是:索引+主键 * 主键索引叶子节点:主键+表数据 在1个page里面,非主键索引可以存储更多的条目,对于一张表,1000000数据, * 使用非主键索引 扫描page 100 ,主键索引 500 阅读全文
posted @ 2021-02-22 06:36 callbin 阅读(74) 评论(0) 推荐(0)

2020年5月23日 #

摘要: 阅读全文
posted @ 2020-05-23 12:34 callbin 阅读(138) 评论(0) 推荐(0)

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 37 下一页