目录
我们此处仅对订单相关一些重点内容做记录。
一、引入springsession和redis
前面springsession我们已经做过了,在这里订单模块直接复制。
添加依赖:
添加配置:
添加配置文件线程池:
package com.xp.xpmall.order.config;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframew