|
@@ -1,21 +1,21 @@
|
1
|
|
-package com.njyunzhi.shop;
|
|
1
|
+package com.example.demo;
|
2
|
2
|
|
3
|
3
|
import org.springframework.boot.SpringApplication;
|
4
|
4
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
5
|
5
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
6
|
6
|
import org.springframework.scheduling.annotation.EnableAsync;
|
7
|
7
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
8
|
|
-import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
8
|
+//import org.springframework.transaction.annotation.EnableTransactionManagement;
|
9
|
9
|
|
10
|
10
|
@EnableAsync
|
11
|
11
|
@EnableScheduling
|
12
|
|
-@EnableTransactionManagement
|
|
12
|
+//@EnableTransactionManagement
|
13
|
13
|
@EnableConfigurationProperties
|
14
|
14
|
@SpringBootApplication
|
15
|
|
-public class ExampleDemoApplication {
|
|
15
|
+public class DemoApplication {
|
16
|
16
|
|
17
|
17
|
public static void main(String[] args) {
|
18
|
|
- SpringApplication.run(ExampleDemoApplication.class, args);
|
|
18
|
+ SpringApplication.run(DemoApplication.class, args);
|
19
|
19
|
}
|
20
|
20
|
|
21
|
21
|
}
|