|
|
@ -2,18 +2,14 @@ package com.charge.task;
|
|
|
|
|
|
|
|
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.cloud.netflix.feign.EnableFeignClients;
|
|
|
|
import org.springframework.cloud.netflix.feign.EnableFeignClients;
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
|
|
@EnableFeignClients
|
|
|
|
@EnableFeignClients
|
|
|
|
@ComponentScan
|
|
|
|
|
|
|
|
@SpringBootApplication
|
|
|
|
@SpringBootApplication
|
|
|
|
@EnableAutoConfiguration
|
|
|
|
|
|
|
|
@EnableScheduling
|
|
|
|
@EnableScheduling
|
|
|
|
@MapperScan(basePackages = "com.charge.task.dao")
|
|
|
|
@MapperScan(basePackages = "com.charge.task.dao")
|
|
|
|
@RestController
|
|
|
|
@RestController
|
|
|
|