修改文档注意事项

This commit is contained in:
life 2023-08-08 22:22:08 +08:00
parent 6b81a678d5
commit 2d2e172b5b

View File

@ -224,9 +224,13 @@ public void purchase(String userId, String commodityCode, int orderCount) {
> 的官方示例快速开始https://seata.io/zh-cn/docs/user/quickstart.html > 的官方示例快速开始https://seata.io/zh-cn/docs/user/quickstart.html
### 注意事项 ### 注意事项
1.使用`seata-spring-boot-starter`的时候请关闭自动代理
在使用 Seata 分布式事务时,请注意添加 Seata 的相关 Maven 依赖,例如: ```yaml
seata:
enable-auto-data-source-proxy: false
```
2.使用`seata-all`请不要使用`@EnableAutoDataSourceProxy`
3.如果是boot项目可以引入相关Maven依赖例如
```xml ```xml
<dependency> <dependency>
<groupId>io.seata</groupId> <groupId>io.seata</groupId>