{"id":20672672,"url":"https://github.com/zerowdd/sxh","last_synced_at":"2025-04-19T19:10:45.622Z","repository":{"id":37146678,"uuid":"221824546","full_name":"ZeroWdd/SXH","owner":"ZeroWdd","description":"基于springboot +springcloud分布式商小惠平台","archived":false,"fork":false,"pushed_at":"2022-12-16T00:41:34.000Z","size":2193,"stargazers_count":4,"open_issues_count":10,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T12:04:57.949Z","etag":null,"topics":["elasticsearch","mybatis","rabbitmq","redis","springboot","springcloud"],"latest_commit_sha":null,"homepage":null,"language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZeroWdd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-15T02:09:19.000Z","updated_at":"2024-10-22T08:49:13.000Z","dependencies_parsed_at":"2023-01-29T06:45:25.783Z","dependency_job_id":null,"html_url":"https://github.com/ZeroWdd/SXH","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroWdd%2FSXH","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroWdd%2FSXH/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroWdd%2FSXH/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroWdd%2FSXH/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZeroWdd","download_url":"https://codeload.github.com/ZeroWdd/SXH/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249773269,"owners_count":21323437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elasticsearch","mybatis","rabbitmq","redis","springboot","springcloud"],"created_at":"2024-11-16T20:38:28.356Z","updated_at":"2025-04-19T19:10:45.597Z","avatar_url":"https://github.com/ZeroWdd.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SXH\n\n## 项目简介 \n\n分布式购物商城后端部分\n\n* **使用springcloud实现分布式构建**\n* **使用springboot实现项目的底层，去除xml配置**\n* **前后端分离** \n  * **前台服务 ：  https://github.com/ZeroWdd/SXH-portal** \n  * **后台服务 ：  https://github.com/ZeroWdd/SXH-manage**\n* **使用redis实现数据缓存，到达高并发**\n* **消息队列采用rabbitmq**\n* **采用mybaits框架对数据进行操作**\n* **负载均衡使用nginx**\n\n## 项目划分\n\n* api后端服务 ：  https://github.com/ZeroWdd/SXH \n* 前台服务 ：  https://github.com/ZeroWdd/SXH-portal \n* 后台服务 ：  https://github.com/ZeroWdd/SXH-manage\n\n## Web应用端口\n\n| 名称     | 端口  | 说明         |\n| -------- | ----- | ------------ |\n| admin    | 8091  | 管理员模块   |\n| auth     | 8087  | 身份校验模块 |\n| cart     | 8088  | 购物车模块   |\n| gateway  | 10010 | 网关         |\n| order    | 8089  | 订单模块     |\n| search   | 8083  | 搜索模块     |\n| seckill  | 8092  | 秒杀模块     |\n| sms      | 8086  | 短信模块     |\n| stock    | 8090  | 库存模块     |\n| user     | 8085  | 会员模块     |\n| item     | 8081  | 商品模块     |\n| registry | 10086 | 注册中心     |\n| upload   | 8082  | 上传模块     |\n| web      | 8084  | web模块      |\n\n## 本地开发运行\n\n* 创建数据库\n* 更改application.yml中地址配置\n* 修改本地`host`文件 将虚拟机地址 映射为 `www.leyou.com` \n* 配置nginx，配置文件在conf文件夹下\n* 此项目采用jwt + rsa进行身份验证,因此需要更改部分application.yml的公钥和密钥地址\n\n## 运行界面展示\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-16-08.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-16-28.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-16-58.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-17-12.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-18-04.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-20-15.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-20-33.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-25-18.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-25-35.jpg)\n\n![]( https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-26-01.jpg)\n\n![]( https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-26-28.jpg )\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-26-43.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-26-51.jpg)\n\n![](https://github-image-save.oss-cn-beijing.aliyuncs.com/SXH/Snipaste_2019-12-20_17-27-03.jpg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerowdd%2Fsxh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerowdd%2Fsxh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerowdd%2Fsxh/lists"}