开发博客系统文章数:菜单文章暂未更新搭建eureka注册中心(本文)https://segmentfault.com/a/11...构建Bean并编写Token解析注解https://segmentfault.com/a/11...构建权限管理系统https://segmentfault.com/a/11...搭建后台管理系统https://segmentfault.com/a/11...前端Fetch请求封装https://segmentfault.com/a/11...简介:本系统设计基于++SpringCloud+vue(ElementUI)+mySQL++,系统涉及资源权限管理、自定义注解、自定义注解Token解析、前后端分离、Fetch封装、Vue前端路由权限管理等知识。本系统主要供学习和实践使用,同时也是为完善个人主页网站而开发的。刚毕业,很多知识还没有深入掌握。希望大家多多指点。个人主页:http://vidanao.com/本系统分为:注册中心(Eureka)基础豆系统(Beans)权限管理部(Auth)博客系统(Blog)后台管理系统(Admin)文件管理系统(File)(1)BasicBeans系统介绍:主要是打包为jar,在其他系统中引用,包括公共Entity、字典枚举类、token解析类等工具类(2)权限管理部介绍:管理用户(名称、密码、token,基本信息),管理资源和用户资源权限管理,主要为其他系统提供星型(服务)接口(3)文件管理系统介绍:文件存储,文件下载地址管理(4)后台管理系统介绍:相关服务系统使用权限管理、系统配置管理、数据设计字典、系统配置文件资源路径管理(5)博客系统介绍:博客系统,文章增删改查;包括文件上传、下载2018年10月12日系统开发完成70%,文章会陆续更新——搭建eureka注册中心环境搭建:我使用IDEAmaven创建(eureka注册中心)pom.xml4.0.0com.servereureka0.0.1-SNAPSHOTjareurekaSpringBoot的EurekaServer项目org.springframework.bootspring-boot-starter-parent1.5.6.RELEASEUTF-8UTF-81.8Camden.SR6org.springframework.cloudspring-cloud-starter-config</artifactId>org.springframework.bootspring-boot-starter-securityorg.springframework.cloudspring-cloud-starter-eurekaorg.springframework.bootspring-boot-starter-websocket复制代码org.springframework.bootspring-boot-devtoolstrue<依赖>org.springframework.cloudspring-cloud-starter-feignorg.springframework.bootspring-boot-starter-actuatororg.springframework.cloudspring-cloud-starter-eureka-serverorg.springframework.bootspring-boot-starter-test测试org.springframework.cloud<工件actId>spring-cloud-dependencies${spring-cloud.version}pom导入org.springframework.bootspring-boot-maven-plugin启动类@EnableEurekaServer@SpringBootApplicationpublicclassEurekaserverApplication{publicstaticvoidmain(String[]args){SpringApplication.run(EurekaserverApplication.class,args);}}配置文件application.propertieseureka.client.register-with-eureka=falseeureka.client.fetch-registry=false#eureka.instance.hostname=peer1server.port=8081eureka.client.serviceUrl.defaultZone=http://127.0.0.1:${server.port}/eureka/spring.application.name=eureka#spring.profiles=peer1security.basic.enabled=truesecurity.user.name=systemsecurity。用户.密码=123456