项目名称:拉新营销平台
业务:
⽤户服务:⽤户注册/登录、 头像和信息维护、 收货地址模块
优惠券服务:展示和领劵、 使⽤和释放,
商品服务:商品基本展示库存扣减回收、 购物⻋模块
订单服务:下单⽀付、 订单基本操作
https://blog.virtualagent.cn/blog/series/Project_XD_Paas
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
5.7 KiB
150 lines
5.7 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>nla-shop</artifactId>
|
|
<groupId>cn.nla</groupId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>nla-common</artifactId>
|
|
<description>公共模块</description>
|
|
|
|
<properties>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
<!--项⽬中添加 spring-boot-starter-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
</dependency>
|
|
<!--如果spring-boot版本大于2.3.x,则需要手动引入依赖-->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<version>6.0.1.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
</dependency>
|
|
<!-- 代码⾃动⽣成依赖 begin -->
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
<version>3.4.1</version>
|
|
</dependency>
|
|
<!-- velocity -->
|
|
<dependency>
|
|
<groupId>org.apache.velocity</groupId>
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
<version>2.0</version>
|
|
</dependency>
|
|
<!-- 代码⾃动⽣成依赖 end-->
|
|
<!--swagger ui接⼝⽂档依赖-->
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
</dependency>
|
|
<!--redis-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.lettuce</groupId>
|
|
<artifactId>lettuce-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>redis.clients</groupId>
|
|
<artifactId>jedis</artifactId>
|
|
</dependency>
|
|
<!--分布式锁-->
|
|
<dependency>
|
|
<groupId>org.redisson</groupId>
|
|
<artifactId>redisson</artifactId>
|
|
<version>3.10.1</version>
|
|
</dependency>
|
|
<!-- JWT相关 -->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt</artifactId>
|
|
<version>0.7.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<version>2.3.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>1.2.75</version>
|
|
</dependency>
|
|
<!--添加nacos客户端-->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
<!--配置中心-->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
</dependency>
|
|
<!--Feign远程调用-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
</dependency>
|
|
<!--限流依赖-->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
</dependency>
|
|
<!-- Sentinel流控持久化nacos -->
|
|
<dependency>
|
|
<groupId>com.alibaba.csp</groupId>
|
|
<artifactId>sentinel-datasource-nacos</artifactId>
|
|
</dependency>
|
|
<!--alibaba微服务整合分布式事务,上面的方式不行 mvn 包冲突-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.alibaba.cloud</groupId>-->
|
|
<!-- <artifactId>spring-cloud-starter-alibaba-seata</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<!-- <!–alibaba微服务整合分布式事务,这个方式才行–>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.alibaba.cloud</groupId>-->
|
|
<!-- <artifactId>spring-cloud-starter-alibaba-seata</artifactId>-->
|
|
<!-- <exclusions>-->
|
|
<!-- <exclusion>-->
|
|
<!-- <groupId>io.seata</groupId>-->
|
|
<!-- <artifactId>seata-spring-boot-starter</artifactId>-->
|
|
<!-- </exclusion>-->
|
|
<!-- </exclusions>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>io.seata</groupId>-->
|
|
<!-- <artifactId>seata-spring-boot-starter</artifactId>-->
|
|
<!-- <version>1.3.0</version>-->
|
|
<!-- </dependency>-->
|
|
<!--引入AMQP-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-amqp</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project>
|
|
|