# focshop **Repository Path**: shisanye126/focshop ## Basic Information - **Project Name**: focshop - **Description**: Spring Cloud Alibaba,集成 Spring Cloud 的: hystrix,feign,config...自定义token实现授权,直接存到redis, - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2020-08-31 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 平台简介 focshop集成spring-cloud-alibaba 使用nacos做注册中心和配置中心 ## 项目演示地址 - http://foc.yuexiangguoji.com - 演示: [foc-cloud](http://foc.yuexiangguoji.com) ``` focshop-cloud | ├──focshop-common --通用包 | | | ├──focshop-common-core --核心工具包 | | | ├──focshop-common-redis --redis工具包 | | | ├──focshop-common-log --日志工具包 | | | ├──focshop-common-auth --权限工具包 | ├──focshop-gateway --网关 | ├──focshop-service-api --服务api模块 | | | ├──focshop-system-api --系统业务api | ├──focshop-service --微服务 | | | ├──focshop-system --系统业务 | | | ├──focshop-auth --授权中心 | ├──focshop-tool --工具 | | | ├──focshop-monitor --监控中心 | | | ├──focshop-generator --代码生成工具 | ├──focshop-ant --前端 使用ant design框架 ``` #### 项目截图 ![Image text](http://evaluateimgs.huojijie.com/foc1.png) ![Image text](http://evaluateimgs.huojijie.com/foc2.png) ![Image text](http://evaluateimgs.huojijie.com/foc3.png) ![Image text](http://evaluateimgs.huojijie.com/foc4.png) 启动顺序: - 搭建nacos serve,导入sql/nacos.sql并[配置持久化](https://nacos.io/zh-cn/docs/deployment.html)启动,如需帮助,请参考[nacos文档](https://nacos.io/zh-cn/docs/quick-start-spring-cloud.html) - gateway - system - auth 问题汇总 1. 配置nacos.config必须在bootstrap.yml或者bootstrap.properties,原因见:[nacos wiki](https://github.com/spring-cloud-incubator/spring-cloud-alibaba/wiki/Nacos-config) 2. gateway中配置增加了自动转大写 3. jar启动时,nacos远程配置内容不能有注释,ide中启动没有问题 4. 本实例把nacos的配置都放在nacos.sql,如果你不需要持久化,也可以从master分支config中获取,配置内容是一样的 菜单sql有增加字段,以上传到sql文件 #### 欢迎pr或者加入,给个star是最好的鞭策 ### 特别鸣谢若依 项目参考: [ruoyi-cloud](https://github.com/zhangmrit/ruoyi-cloud)