|
@@ -7,6 +7,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.cache.annotation.EnableCaching;
|
|
import org.springframework.cache.annotation.EnableCaching;
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
|
|
+import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* @Description:
|
|
* @Description:
|
|
@@ -16,9 +17,10 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
*/
|
|
*/
|
|
|
@EnableFeignClients(basePackages = {SystemGlobalConstant.HUSSAR_ROOT_PACKAGE, SystemGlobalConstant.BIZMS_BASE_PACKAGE})
|
|
@EnableFeignClients(basePackages = {SystemGlobalConstant.HUSSAR_ROOT_PACKAGE, SystemGlobalConstant.BIZMS_BASE_PACKAGE})
|
|
|
@EnableDiscoveryClient
|
|
@EnableDiscoveryClient
|
|
|
-@SpringBootApplication(scanBasePackages = {SystemGlobalConstant.BIZMS_BASE_PACKAGE,"com.hdkj.attachments"})
|
|
|
|
|
|
|
+@SpringBootApplication(scanBasePackages = {SystemGlobalConstant.BIZMS_BASE_PACKAGE})
|
|
|
@MapperScan(basePackages = {SystemGlobalConstant.HUSSAR_DAO_PACKAGE, SystemGlobalConstant.BIZMS_DAO_PACKAGE})
|
|
@MapperScan(basePackages = {SystemGlobalConstant.HUSSAR_DAO_PACKAGE, SystemGlobalConstant.BIZMS_DAO_PACKAGE})
|
|
|
@EnableCaching
|
|
@EnableCaching
|
|
|
|
|
+@EnableSwagger2WebMvc
|
|
|
public class LoadTransferIOApplication {
|
|
public class LoadTransferIOApplication {
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|