
Springboot+nacos+seata实现简单分布式事务经验分享:二
Springboot+nacos+seata实现简单的分布式事务上一篇文章把三个服务都注册进nacos中了,这次就开始写业务代码首先先创建三个数据库,每个数据库都需要有一张记录表,一张回滚表order表CREATE TABLE `t_order` ( `id` bigint NOT NULL AUTO_INCREMENT, `user_id` bigint DEFAULT NULL , `product_id` bigint DEFAULT NULL , `count` int DE





