| | |
| | | * @Version 1.0 |
| | | * add by wuxw 2019/4/24 |
| | | **/ |
| | | @FeignClient(name = "acct-service", configuration = {FeignConfiguration.class}) |
| | | @FeignClient(name = "${java110.acct-service}", configuration = {FeignConfiguration.class}) |
| | | @RequestMapping("/accountBankApi") |
| | | public interface IAccountBankInnerServiceSMO { |
| | | |
| | |
| | | * @Version 1.0 |
| | | * add by wuxw 2019/4/24 |
| | | **/ |
| | | @FeignClient(name = "store-service", configuration = {FeignConfiguration.class}) |
| | | @FeignClient(name = "${java110.store-service}", configuration = {FeignConfiguration.class}) |
| | | @RequestMapping("/demoApi") |
| | | public interface IDemoInnerServiceSMO { |
| | | |
| | |
| | | * @Version 1.0 |
| | | * add by wuxw 2019/4/24 |
| | | **/ |
| | | @FeignClient(name = "store-service", configuration = {FeignConfiguration.class}) |
| | | @FeignClient(name = "${java110.store-service}", configuration = {FeignConfiguration.class}) |
| | | @RequestMapping("/allocationStorehouseApplyApi") |
| | | public interface IAllocationStorehouseApplyInnerServiceSMO { |
| | | |
| | |
| | | * @Version 1.0 |
| | | * add by wuxw 2019/4/24 |
| | | **/ |
| | | @FeignClient(name = "store-service", configuration = {FeignConfiguration.class}) |
| | | @FeignClient(name = "${java110.store-service}", configuration = {FeignConfiguration.class}) |
| | | @RequestMapping("/allocationStorehouseApi") |
| | | public interface IAllocationStorehouseInnerServiceSMO { |
| | | |
| | |
| | | * @Version 1.0 |
| | | * add by wuxw 2019/4/24 |
| | | **/ |
| | | @FeignClient(name = "store-service", configuration = {FeignConfiguration.class}) |
| | | @FeignClient(name = "${java110.store-service}", configuration = {FeignConfiguration.class}) |
| | | @RequestMapping("/allocationUserAllocationUserStorehouseApi") |
| | | public interface IAllocationUserStorehouseInnerServiceSMO { |
| | | |
| | |
| | | * @Version 1.0 |
| | | * add by wuxw 2019/4/24 |
| | | **/ |
| | | @FeignClient(name = "store-service", configuration = {FeignConfiguration.class}) |
| | | @FeignClient(name = "${java110.store-service}", configuration = {FeignConfiguration.class}) |
| | | @RequestMapping("/contractApi") |
| | | public interface IContractInnerServiceSMO { |
| | | |
| | |
| | | /** |
| | | * 采购申请类 |
| | | */ |
| | | @FeignClient(name = "store-service", configuration = {FeignConfiguration.class}) |
| | | @FeignClient(name = "${java110.store-service}", configuration = {FeignConfiguration.class}) |
| | | @RequestMapping("/purchase") |
| | | public interface IPurchaseApi { |
| | | |
| | |
| | | |
| | | java110: |
| | | community-service: community-service |
| | | acct-service: acct-service |
| | | user-service: user-service |
| | | store-service: store-service |
| | | common-service: common-service |
| | | job-service: job-service |
| | | fee-service: fee-service |
| | | report-service: report-service |
| | | dev-service: dev-service |
| | | oa-service: oa-service |
| | | |
| | | spring: |
| | | http: |
| | |
| | | |
| | | java110: |
| | | community-service: community-service |
| | | acct-service: acct-service |
| | | |
| | | feign: |
| | | client: |
| | |
| | | ) |
| | | @EnableDiscoveryClient |
| | | @Java110ListenerDiscovery(listenerPublishClass = BusinessServiceDataFlowEventPublishing.class, |
| | | basePackages = {"com.java110.user.listener"}) |
| | | basePackages = {"com.java110.user.listener","com.java110.acct.listener"}) |
| | | @Java110CmdDiscovery(cmdPublishClass = ServiceCmdEventPublishing.class, |
| | | basePackages = {"com.java110.user.cmd"}) |
| | | basePackages = {"com.java110.user.cmd","com.java110.acct.cmd"}) |
| | | public class BusiServiceApplicationStart { |
| | | |
| | | private static Logger logger = LoggerFactory.getLogger(BusiServiceApplicationStart.class); |
| | | |
| | | private static final String LISTENER_PATH = "java110.UserService.listeners"; |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | try { |
| | |
| | | uri-encoding: UTF-8 |
| | | |
| | | java110: |
| | | community-service: community-service |
| | | community-service: busi-service |
| | | acct-service: busi-service |
| | | |
| | | spring: |
| | | http: |