| | |
| | | package com.java110.fee; |
| | | |
| | | import com.java110.core.annotation.Java110CmdDiscovery; |
| | | import com.java110.core.annotation.Java110ListenerDiscovery; |
| | | import com.java110.core.client.RestTemplate; |
| | | import com.java110.core.event.cmd.ServiceCmdEventPublishing; |
| | | import com.java110.core.event.service.BusinessServiceDataFlowEventPublishing; |
| | | import com.java110.service.init.ServiceStartInit; |
| | | import org.slf4j.Logger; |
| | |
| | | @EnableDiscoveryClient |
| | | @Java110ListenerDiscovery(listenerPublishClass = BusinessServiceDataFlowEventPublishing.class, |
| | | basePackages = {"com.java110.fee.listener"}) |
| | | @Java110CmdDiscovery(cmdPublishClass = ServiceCmdEventPublishing.class, |
| | | basePackages = {"com.java110.fee.cmd"}) |
| | | @EnableFeignClients(basePackages = {"com.java110.intf.user", |
| | | "com.java110.intf.order", |
| | | "com.java110.intf.community", |
| | | "com.java110.intf.job", |
| | | "com.java110.intf.acct", |
| | | "com.java110.intf.common", |
| | | "com.java110.intf.store"}) |
| | | public class FeeServiceApplicationStart { |
| | | |
| | |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | try { |
| | | ServiceStartInit.preInitSystemConfig(); |
| | | ApplicationContext context = SpringApplication.run(FeeServiceApplicationStart.class, args); |
| | | ServiceStartInit.initSystemConfig(context); |
| | | } catch (Throwable e) { |