|
@@ -12,7 +12,7 @@ import org.springframework.stereotype.Component;
|
|
|
* @description 全局分布式事务{seata}bean
|
|
* @description 全局分布式事务{seata}bean
|
|
|
* @date 2023/6/15 0015
|
|
* @date 2023/6/15 0015
|
|
|
*/
|
|
*/
|
|
|
-//@Component
|
|
|
|
|
|
|
+@Component
|
|
|
public class GlobalTransactionalConfig {
|
|
public class GlobalTransactionalConfig {
|
|
|
@Bean
|
|
@Bean
|
|
|
public AspectTransactionalInterceptor aspectTransactionalInterceptor () {
|
|
public AspectTransactionalInterceptor aspectTransactionalInterceptor () {
|