基于SpringCloud+vue(ElementUI)+mySQL前后端分离设计之--搭建权限管理系统

开发一个博客系统

文章数:菜单文章都没更新完
搭建eureka注册中心 (请先阅读此文章) https://segmentfault.com/a/11...
搭建Beans编写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前后端分离设计之--搭建权限管理系统_第1张图片

pom.xml


    4.0.0

    com.server
    authority
    0.0.1-SNAPSHOT
    jar

    authority
    authority project for Spring Boot

    
        org.springframework.boot
        spring-boot-starter-parent
        1.5.6.RELEASE
         
    

    
        UTF-8
        UTF-8
        1.8
        Camden.SR6
    

    
        
            com.server
            beans
            1.0-SNAPSHOT 
        
        
            org.springframework.cloud
            spring-cloud-starter-config
        
        
            org.springframework.boot
            spring-boot-starter-security
        
        
            org.springframework.cloud
            spring-cloud-starter-eureka
        
        
            org.springframework.boot
            spring-boot-starter-websocket
        
        
            org.springframework.boot
            spring-boot-devtools
            true
        
        
            org.springframework.cloud
            spring-cloud-starter-feign
        
        
            org.springframework.boot
            spring-boot-starter-actuator
        
        
            org.springframework.cloud
            spring-cloud-starter-eureka-server
        

        
            org.springframework.boot
            spring-boot-starter-test
            test
        
        
        
            mysql
            mysql-connector-java
            8.0.11
        

        
        
            org.springframework.boot
            spring-boot-starter-data-jpa
        
    

    
        
            
                org.springframework.cloud
                spring-cloud-dependencies
                ${spring-cloud.version}
                pom
                import
            
        
    

    
        
            
                org.springframework.boot
                spring-boot-maven-plugin
            
        
    



配置文件application.properties
eureka.client.serviceUrl.defaultZone=http://system:123456@localhost:8081/eureka
eureka.instance.prefer-ip-address=true
spring.application.name=AUS
server.port=8767
security.basic.enabled=false
#security.user.name=system
#security.user.password=123456

spring.datasource.url=jdbc:mysql://localhost:3306/dbauth?characterEncoding=utf8&serverTimezone=GMT%2B8&useSSL=false
spring.datasource.username=root
#root,root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 
spring.jpa.properties.hibernate.hbm2ddl.auto=update
#create-drop
spring.jpa.show-sql=true
启动类
@SpringBootApplication
@EnableEurekaClient
public class AuthorityApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthorityApplication.class, args);
    }

}

然后没有了

你可能感兴趣的:(基于SpringCloud+vue(ElementUI)+mySQL前后端分离设计之--搭建权限管理系统)