| | |
| | | import com.java110.core.event.service.BusinessServiceDataFlowEventPublishing; |
| | | import com.java110.service.init.ServiceStartInit; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.web.client.RestTemplateBuilder; |
| | |
| | | @Java110CmdDiscovery(cmdPublishClass = ServiceCmdEventPublishing.class, |
| | | basePackages = {"com.java110.community.cmd"}) |
| | | @EnableFeignClients(basePackages = {"com.java110.intf.user", "com.java110.intf.common", "com.java110.intf.fee", |
| | | "com.java110.intf.order"}) |
| | | "com.java110.intf.order","com.java110.intf.store"}) |
| | | public class CommunityServiceApplicationStart { |
| | | |
| | | private static Logger logger = LoggerFactory.getLogger(CommunityServiceApplicationStart.class); |
| | |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | try { |
| | | ServiceStartInit.preInitSystemConfig(); |
| | | ApplicationContext context = SpringApplication.run(CommunityServiceApplicationStart.class, args); |
| | | ServiceStartInit.initSystemConfig(context); |
| | | } catch (Throwable e) { |