{"id":13466869,"url":"https://github.com/linlinjava/litemall","last_synced_at":"2025-05-12T03:48:13.580Z","repository":{"id":37412586,"uuid":"126365965","full_name":"linlinjava/litemall","owner":"linlinjava","description":"又一个小商城。litemall = Spring Boot后端 + Vue管理员前端 + 微信小程序用户前端 + Vue用户移动端","archived":false,"fork":false,"pushed_at":"2025-01-04T11:44:29.000Z","size":24591,"stargazers_count":19647,"open_issues_count":35,"forks_count":7276,"subscribers_count":730,"default_branch":"master","last_synced_at":"2025-05-01T13:53:23.216Z","etag":null,"topics":["litemall","mall","spring-boot","vue","wechat","wechat-mini-program"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linlinjava.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-22T16:42:30.000Z","updated_at":"2025-05-01T03:57:26.000Z","dependencies_parsed_at":"2024-06-16T06:29:15.945Z","dependency_job_id":"6c707631-d59b-4c1d-9ad2-63f6e5efba9c","html_url":"https://github.com/linlinjava/litemall","commit_stats":{"total_commits":1054,"total_committers":68,"mean_commits":15.5,"dds":"0.22201138519924102","last_synced_commit":"9f81d58ce012015956ce213496b5c5946b2a2627"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linlinjava%2Flitemall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linlinjava%2Flitemall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linlinjava%2Flitemall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linlinjava%2Flitemall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linlinjava","download_url":"https://codeload.github.com/linlinjava/litemall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253672462,"owners_count":21945474,"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":["litemall","mall","spring-boot","vue","wechat","wechat-mini-program"],"created_at":"2024-07-31T15:00:50.897Z","updated_at":"2025-05-12T03:48:13.543Z","avatar_url":"https://github.com/linlinjava.png","language":"Java","readme":"# litemall\n\n又一个小商场系统。\n\nlitemall = Spring Boot后端 + Vue管理员前端 + 微信小程序用户前端 + Vue用户移动端\n\n* [文档](https://linlinjava.gitbook.io/litemall)\n* [贡献](https://linlinjava.gitbook.io/litemall/contribute)\n* [FAQ](https://linlinjava.gitbook.io/litemall/faq)\n* [API](https://linlinjava.gitbook.io/litemall/api)\n\n## 项目代码\n\n* [码云](https://gitee.com/linlinjava/litemall)\n* [GitHub](https://github.com/linlinjava/litemall)\n\n## 项目架构\n![](./doc/pics/readme/project-structure.png)\n\n## 技术栈\n\n\u003e 1. Spring Boot\n\u003e 2. Vue\n\u003e 3. 微信小程序\n\n![](doc/pics/readme/technology-stack.png)\n\n## 功能\n\n### 小商城功能\n\n* 首页\n* 专题列表、专题详情\n* 分类列表、分类详情\n* 品牌列表、品牌详情\n* 新品首发、人气推荐\n* 优惠券列表、优惠券选择\n* 团购\n* 搜索\n* 商品详情、商品评价、商品分享\n* 购物车\n* 下单\n* 订单列表、订单详情、订单售后\n* 地址、收藏、足迹、意见反馈\n* 客服\n\n### 管理平台功能\n\n* 会员管理\n* 商城管理\n* 商品管理\n* 推广管理\n* 系统管理\n* 配置管理\n* 统计报表\n\n## 快速启动\n\n1. 配置最小开发环境：\n    * [MySQL](https://dev.mysql.com/downloads/mysql/)\n    * [JDK1.8或以上](http://www.oracle.com/technetwork/java/javase/overview/index.html)\n    * [Maven](https://maven.apache.org/download.cgi)\n    * [Nodejs](https://nodejs.org/en/download/)\n    * [微信开发者工具](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html)\n    \n2. 数据库依次导入litemall-db/sql下的数据库文件\n    * litemall_schema.sql\n    * litemall_table.sql\n    * litemall_data.sql\n\n3. 启动小商场和管理后台的后端服务\n\n    打开命令行，输入以下命令\n    ```bash\n    cd litemall\n    mvn install\n    mvn clean package\n    java -Dfile.encoding=UTF-8 -jar litemall-all/target/litemall-all-0.1.0-exec.jar\n    ```\n    \n4. 启动管理后台前端\n\n    打开命令行，输入以下命令\n    ```bash\n    cd litemall/litemall-admin\n    npm install --registry=https://registry.npm.taobao.org\n    npm run dev\n    ```\n    此时，浏览器打开，输入网址`http://localhost:9527`, 此时进入管理后台登录页面。\n    \n5. 启动小商城前端\n   \n   这里存在两套小商场前端litemall-wx和renard-wx，开发者可以分别导入和测试：\n   \n   1. 微信开发工具导入litemall-wx项目;\n   2. 项目配置，启用“不校验合法域名、web-view（业务域名）、TLS 版本以及 HTTPS 证书”\n   3. 点击“编译”，即可在微信开发工具预览效果；\n   4. 也可以点击“预览”，然后手机扫描登录（但是手机需开启调试功能）。\n      \n   注意：\n   \u003e 这里只是最简启动方式，而小商场的微信登录、微信支付等功能需开发者设置才能运行，\n   \u003e 更详细方案请参考[文档](https://linlinjava.gitbook.io/litemall/project)。\n\n6. 启动轻商城前端\n\n    打开命令行，输入以下命令\n    ```bash\n    cd litemall/litemall-vue\n    npm install --registry=https://registry.npm.taobao.org\n    npm run dev\n    ```\n    此时，浏览器（建议采用chrome 手机模式）打开，输入网址`http://localhost:6255`, 此时进入轻商场。\n\n    注意：\n    \u003e 现在功能很不稳定，处在开发阶段。\n        \n## 开发计划\n\n当前版本[v1.8.0](https://linlinjava.gitbook.io/litemall/changelog)\n\n目前项目开发中，存在诸多不足，以下是目前规划的开发计划。\n\nV 1.0.0 完成以下目标：\n\n1. 除了部分功能（如优惠券等），小商城的优化和改进基本结束；\n2. 管理后台基本实现所有表的CRUD操作；\n3. 后端服务能够对参数进行检验。\n\nV 2.0.0 完成以下目标：\n\n1. 小商城和管理后台完成所有基本业务；\n2. 管理后台实现统计功能、日志功能、权限功能；\n3. 业务代码和细节代码进行调整优化；\n4. 轻商城的开发；\n\nV 3.0.0 完成以下目标：\n\n1. 管理后台一些辅助功能\n2. 后端服务加强安全功能、配置功能\n3. 缓存功能以及优化一些性能\n\n## 警告\n\n\u003e 1. 本项目仅用于学习练习\n\u003e 2. 本项目还不完善，仍处在开发中，不承担任何使用后果\n\u003e 3. 本项目代码开源[MIT](./LICENSE)，项目文档采用 [署名-禁止演绎 4.0 国际协议许可](https://creativecommons.org/licenses/by-nd/4.0/deed.zh)\n\n## 致谢\n\n本项目基于或参考以下项目：\n\n1. [nideshop-mini-program](https://github.com/tumobi/nideshop-mini-program)\n\n   项目介绍：基于Node.js+MySQL开发的开源微信小程序商城（微信小程序）\n\n   项目参考：\n   \n   1. litemall项目数据库基于nideshop-mini-program项目数据库；\n   2. litemall项目的litemall-wx模块基于nideshop-mini-program开发。\n\n2. [vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)\n  \n   项目介绍： 一个基于Vue和Element的后台集成方案\n  \n   项目参考：litemall项目的litemall-admin模块的前端框架基于vue-element-admin项目修改扩展。\n\n3. [mall-admin-web](https://github.com/macrozheng/mall-admin-web)\n\n   项目介绍：mall-admin-web是一个电商后台管理系统的前端项目，基于Vue+Element实现。\n\n   项目参考：litemall项目的litemall-admin模块的一些页面布局样式参考了mall-admin-web项目。\n\n4. [biu](https://github.com/CaiBaoHong/biu)\n\n   项目介绍：管理后台项目开发脚手架，基于vue-element-admin和springboot搭建，前后端分离方式开发和部署。\n\n   项目参考：litemall项目的权限管理功能参考了biu项目。\n\n5. [vant--mobile-mall](https://github.com/qianzhaoy/vant--mobile-mall)\n\n   项目介绍：基于有赞 vant 组件库的移动商城。\n\n   项目参考：litemall项目的litemall-vue模块基于vant--mobile-mall项目开发。\n\n## 推荐\n\n1. [Flutter_Mall](https://github.com/youxinLu/mall)\n   \n   项目介绍：Flutter_Mall是一款Flutter开源在线商城应用程序。\n   \n2. [Taro_Mall](https://github.com/jiechud/taro-mall)\n\n    项目介绍：Taro_Mall是一款多端开源在线商城应用程序，后台是基于litemall基础上进行开发，前端采用Taro框架编写。\n\n\n## 问题\n\n![](doc/pics/readme/qq4.png)\n\n * 开发者有问题或者好的建议可以用Issues反馈交流，请给出详细信息\n * 在开发交流群中应讨论开发、业务和合作问题\n * 如果真的需要QQ群里提问，请在提问前先完成以下过程：\n    * 请仔细阅读本项目文档，特别是是[**FAQ**](https://linlinjava.gitbook.io/litemall/faq)，查看能否解决；\n    * 请阅读[提问的智慧](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/master/README-zh_CN.md)；\n    * 请百度或谷歌相关技术；\n    * 请查看相关技术的官方文档，例如微信小程序的官方文档；\n    * 请提问前尽可能做一些DEBUG或者思考分析，然后提问时给出详细的错误相关信息以及个人对问题的理解。\n\n## License\n\n[MIT](https://github.com/linlinjava/litemall/blob/master/LICENSE)\nCopyright (c) 2018-present linlinjava","funding_links":[],"categories":["Java","开源","开源项目","Uncategorized","Practical Project","HarmonyOS","网络服务","Java 实战项目"],"sub_categories":["Uncategorized","Others","Windows Manager","网络服务_其他","Spring Boot"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinlinjava%2Flitemall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinlinjava%2Flitemall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinlinjava%2Flitemall/lists"}