Преглед изворни кода

1:事务开启
2:file增加打包配置

lengfaqiang пре 2 година
родитељ
комит
737b43a1af

+ 1 - 1
sckw-common/sckw-common-seata/src/main/java/com/sckw/seata/config/GlobalTransactionalConfig.java

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

+ 3 - 0
sckw-modules/sckw-file/pom.xml

@@ -100,6 +100,9 @@
                         </goals>
                     </execution>
                 </executions>
+                <configuration>
+                    <mainClass>com.sckw.file.FileApplication</mainClass>
+                </configuration>
             </plugin>
         </plugins>
     </build>