30 lines
832 B
Java
30 lines
832 B
Java
![]() |
package com.mosty.spxl;
|
||
|
|
||
|
import com.mosty.common.base.timeconsume.EnableTimeConsume;
|
||
|
import org.mybatis.spring.annotation.MapperScan;
|
||
|
import org.springframework.boot.SpringApplication;
|
||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||
|
|
||
|
/**
|
||
|
* 视频巡逻 微服务
|
||
|
* @author zengbo
|
||
|
* @date 2022/7/11 14:29 PM[
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
@EnableTimeConsume
|
||
|
//@ComponentScan("com.mosty")
|
||
|
@EnableFeignClients(basePackages = "com.mosty.base.feign.service")
|
||
|
@MapperScan("com.mosty.spxl.mapper")
|
||
|
@EnableDiscoveryClient
|
||
|
@SpringBootApplication
|
||
|
public class MostySpxlApplication {
|
||
|
|
||
|
public static void main(String[] args) {
|
||
|
|
||
|
SpringApplication.run(MostySpxlApplication.class, args);
|
||
|
}
|
||
|
|
||
|
}
|