文件名从 wgcloud-agent/src/main/java/com/wgcloud/WgcloudServiceApplication.java 修改 |
| | |
| | | package com.wgcloud; |
| | | package se.wgcloud; |
| | | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.web.client.RestTemplateBuilder; |
| | | import org.springframework.cache.annotation.EnableCaching; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.ComponentScan; |
| | | import org.springframework.http.converter.StringHttpMessageConverter; |
| | | import org.springframework.scheduling.TaskScheduler; |
| | | import org.springframework.scheduling.annotation.EnableScheduling; |
| | |
| | | |
| | | import java.nio.charset.Charset; |
| | | |
| | | @SpringBootApplication |
| | | @ComponentScan(basePackages = "com.wgcloud") |
| | | @EnableCaching |
| | | @EnableScheduling |
| | | public class WgcloudServiceApplication { |
| | | @SpringBootApplication(scanBasePackages = {"se.wgcloud.*"}) |
| | | public class SeAgentApplication { |
| | | public static void main(String[] args) { |
| | | SpringApplication.run(WgcloudServiceApplication.class, args); |
| | | SpringApplication.run(SeAgentApplication.class, args); |
| | | } |
| | | |
| | | @Bean |