Blame view

cloud/user_search/src/main/java/com/sincere/userSearch/UserApplication.java 592 Bytes
e2822531   陈杰   用户中心
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.sincere.userSearch;

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.cloud.netflix.eureka.EnableEurekaClient;

@ServletComponentScan
@EnableEurekaClient
@SpringBootApplication
@MapperScan("com.sincere.userSearch.mapper")
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}