zhang
4 天以前 91917e48f87be1cecdb9e1235ff5a8678f50ec6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.zy.acs.manager;
 
 
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.scheduling.annotation.EnableScheduling;
 
@MapperScan("com.zy.**.mapper")
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.zy.acs.manager", "com.zy.acs.charge"})
@EnableScheduling
public class ManagerBoot {
 
    public static void main(String[] args) {
        SpringApplication.run(ManagerBoot.class, args);
    }
 
}