使用微服务,请求走gateway,登录验证用oauth2,服务调用用feign,account用户中心集成了5张表的权限系统
数据用Mybatis-plus,集成了动态数据dynamic-datasource
缓存用redis,通过spring-cache调用
集成了Swagger接口文档生成
- Eureka
- Gateway
- Hystrix
- Oauth2
- OpenFeign
- Druid
- Mybatis-Plus
- Dynamic-Datasource
- Knife4j
- Modelmapper
- Vue-Element-Admin
CREATE DATABASE platform_account DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'work'@'%' identified by '123456';
GRANT ALL PRIVILEGES ON platform_account.* to 'work'@'%';
source SpringCloud-CMS/account/account-service/sql/account.sql
source SpringCloud-CMS/account/account-service/sql/init.sql
curl -X GET "http://localhost:8430/test/password"
admin 123456
- Eureka 8400
- Gateway 8410
- Passport 8420
- Account 8430
- CMS-VUE 9527
- spring-aop
- spring-cache
- spring-data-redis
- spring-cloud-commons
- guava
- logback
- 启动Eureka
- 启动Gateway
- 启动Passport OAuth2验证服务
- 启动用户账户服务 集成了基本权限5张表
- 启动前台VUE页面 npm run dev
- 接口文档访问 http://localhost:8410/doc.html