You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
866 B

package com.ccsens.braintraining;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
/**
* @description:
* @author: whj
* @time: 2022/3/4 9:34
*/
@MapperScan(basePackages = {"com.ccsens.braintraining.persist.*"})
@ServletComponentScan
@EnableCaching
@EnableAsync
@SpringBootApplication
@ComponentScan(basePackages = {"com.ccsens"})
public class BrainTrainingApplication {
public static void main(String[] args) {
SpringApplication.run(BrainTrainingApplication.class, args);
}
}