资源简介

SpringCloudConsul服务消费方

资源截图

代码片段和文件信息

package com.yihe.springcloud.consul.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Import;


/**
 * Hello world!
 *
 */
@SpringBootApplication
@Import({SpringMyBatisConfig.class})
@EnableDiscoveryClient
@EnableFeignClients
public class SpringCloudStartApplication 
{

    public static void main( String[] args )
    {
     SpringApplication.run(SpringCloudStartApplication.class args);
        System.out.println( “Consul Service Consumer Started!“ );
    }
    
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-14 16:04  springcloudconsulconsumer\
     文件        3322  2017-04-14 16:07  springcloudconsulconsumer\pom.xml
     目录           0  2017-03-24 18:29  springcloudconsulconsumer\src\
     目录           0  2017-03-27 09:43  springcloudconsulconsumer\src\main\
     目录           0  2017-03-24 18:29  springcloudconsulconsumer\src\main\java\
     目录           0  2017-04-14 11:59  springcloudconsulconsumer\src\main\java\com\
     目录           0  2017-04-14 11:57  springcloudconsulconsumer\src\main\java\com\yihe\
     目录           0  2017-04-14 11:57  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\
     目录           0  2017-04-14 16:08  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\
     目录           0  2017-04-14 16:49  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\
     目录           0  2017-04-14 14:14  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\
     目录           0  2017-04-14 16:49  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\controller\
     文件        2177  2017-04-14 14:55  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\controller\baseController.java
     文件         849  2017-04-14 17:00  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\controller\HelloWorldController.java
     文件        1079  2017-04-14 15:27  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\controller\UserController.java
     目录           0  2017-04-14 14:13  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\dao\
     文件         461  2017-04-14 15:03  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\dao\IUserMapper.java
     目录           0  2017-04-14 12:02  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\model\
     文件         635  2017-04-14 12:02  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\model\User.java
     目录           0  2017-04-14 15:01  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\restservice\
     文件        1003  2017-04-14 17:06  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\restservice\FeignUserServiceFallBack.java
     文件        1931  2017-04-14 16:58  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\restservice\IFeignUserConsulService.java
     目录           0  2017-04-14 14:16  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\service\
     目录           0  2017-04-14 14:17  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\service\impl\
     文件        1084  2017-04-14 17:22  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\service\impl\UserService.java
     文件         195  2017-04-14 14:26  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\demo\service\IUserService.java
     目录           0  2017-04-14 11:57  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\mybatis\
     文件         321  2017-04-14 11:58  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\mybatis\Attach.java
     文件         440  2017-04-14 11:58  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\mybatis\baseModel.java
     文件         174  2017-04-14 11:58  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\mybatis\IbaseMapper.java
     文件         220  2017-04-14 11:58  springcloudconsulconsumer\src\main\java\com\yihe\springcloud\consul\consumer\mybatis\IbaseModel.java
............此处省略19个文件信息

评论

共有 条评论