2022-03-25 06:33:56 +00:00
|
|
|
package com.hxkj.admin;
|
|
|
|
|
|
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
2022-03-29 10:54:41 +00:00
|
|
|
import org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration;
|
2022-03-25 06:33:56 +00:00
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
2022-03-28 11:00:23 +00:00
|
|
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
2022-03-25 06:33:56 +00:00
|
|
|
|
2022-03-29 10:54:41 +00:00
|
|
|
/**
|
|
|
|
|
* 启动器
|
|
|
|
|
*/
|
2022-03-25 06:33:56 +00:00
|
|
|
@Configuration
|
|
|
|
|
@ComponentScan(basePackages = {"com.hxkj"})
|
|
|
|
|
@MapperScan(basePackages = {"com.hxkj.*.mapper"})
|
2022-03-28 11:00:23 +00:00
|
|
|
@EnableTransactionManagement
|
2022-04-01 10:35:13 +00:00
|
|
|
@SpringBootApplication(exclude = {RedisRepositoriesAutoConfiguration.class})
|
2022-03-25 06:33:56 +00:00
|
|
|
public class LikeAdminApplication {
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(LikeAdminApplication.class, args);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|