-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApplication.java.bak
More file actions
20 lines (17 loc) · 908 Bytes
/
Copy pathApplication.java.bak
File metadata and controls
20 lines (17 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package technology.touchmars.template;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication(scanBasePackages= {"technology.touchmars.template"})
@EntityScan(basePackages = {"technology.touchmars.template.model"})
@EnableJpaRepositories(basePackages = {"technology.touchmars.template.repository"})
@EnableTransactionManagement
@EnableFeignClients(basePackages="technology.touchmars.feign.wechat.client.api")
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}