1 Star 1 Fork 1.6K

ysdxhsw/ leadshop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

更新计划

本周更新计划【20210412-20210417】

qq交流群号:849894135

运行环境

Linux+Nginx+PHP7.4+MySQL(5.6|5.7)

项目介绍

Leadshop是一款提供持续更新迭代服务的免费商城系统,旨在打造极致的用户体验!

Leadshop由浙江禾成云计算有限公司研发,主要面向中小型企业,助力搭建电商平台,并提供专业的技术支持。免费提供长期更新服务,应用涉及可视化装修、促销转化、裂变分销、用户精细化管理、数据分析等多个维度,追求极致体验,全面赋能商家,为商家创造价值。

主要特性

Leadshop 开源系统,基于Yii2开发,支持composer,优化核心,减少依赖,基于全新的架构思想和命名空间

  • 基于命名空间和PSR-4规范,加入PHP7新特性
  • 核心功能模块化,方便开发和维护
  • 强化路由功能,采用RESTful接口标准
  • 灵活创建模型控制器,易于扩展开发
  • 配置文件可分离,方便管理
  • 重写的自动验证和完成
  • 简化扩展机制,提升开发速度
  • API支持完善,方便二次开发
  • 内置WeChat微信开发框架,微信接入更加快捷,简单
  • 使用ORM自动创建表结构,提升开发速度
  • 支持数据库结构、数据、模板在线缓存清除,提升用户体验
  • 客户端完善的交互效果和动画,提升用户端视觉体验
  • 支持在线一键安装,方便快捷。
  • 可视化DIY店铺装修,方便、快捷、直观,可以随心所欲装扮自己的店铺
  • 高效的笛卡尔乘积运算,8000条规格秒加载
  • 拟态Windows文件夹的素材管理结构,操作更熟悉随心

开源无加密

基于Apache License 2.0开源协议,前后端代码开源无加密,支持二次开发,支持商用。

核心技术

前端技术栈 ES6、vue、vuex、vue-router、vue-cli、axios、element-ui、uni-app

后端技术栈 Yii2、Jwt、Mysql、Easy-SMS

接口标准

采用标准RESTful API ,高效的API阅读性,具有扩展性强、结构清晰的特点

数据交互

采用JSON API 标准,用以定义客户端如何获取与修改资源,以及服务器如何响应对应请求。高效实现的同时,无需牺牲可读性、灵活性和可发现性

认证方式

目前所有的接口使用 Oauth2 Password 方式,也就是 JWT Authorization Bearer header 进认证。支持扩语言扩展,多平台扩展。

数据表格导出

采用高性能的 js-xlsx数据导出,易于扩展,兼容性强。

接口文档:http://www.leadshop.vip/api.html

页面展示

展示图 展示图 展示图 展示图 展示图

展示图

展示图 展示图 展示图 展示图 展示图 展示图 展示图

Leadshop微商城

论坛交流

地址:https://forum.leadshop.vip/

体验后台

地址:https://demo.leadshop.vip

账号:18888888888

密码:123456

安装

一键安装

上传你的代码,执行目录为/server/web在浏览器中输入你的域名或IP

( 例如:www.yourdomain.com/install ),安装程序会自动执行安装。期间系统会提醒你输入数据库信息以完成安装。

后台访问地址: 域名/leadshop/panel/index

公众号首页访问地址: 域名/h5

重新安装

  1. 清除数据库
  2. 删除/server/install.lock 文件

目录说明

├─admin                             // 后台前端项目          
│  ├─public                       
│  └─src                          
│      ├─assets
│      │  ├─icons
│      │  └─images
│      ├─components
│      ├─lib
│      │  └─function
│      ├─mixins
│      ├─pages
│      │  ├─channel                        // 渠道
│      │  ├─error
│      │  ├─gallery
│      │  ├─goods                          // 商品
│      │  ├─login                          // 登入
│      │  ├─order                          // 订单
│      │  ├─package                        // 装修组件
│      │  ├─pages                          // 微页面
│      │  ├─panel                          // 首页
│      │  ├─setup                          // 设置
│      │  ├─store                          // 店铺
│      │  ├─tabbar                         // 底部导航
│      │  └─users                          // 用户
│      ├─plugins
│      ├─router
│      ├─store
│      ├─theme
│      │  └─fonts
│      └─utils
├─applet                                 //小程序项目                       
│  ├─public
│  ├─src
│  │  ├─colorui                          // CSS样式
│  │  │  └─components
│  │  ├─components
│  │  │  ├─goods-list                   // 商品列表
│  │  │  ├─he-html                      // 富文本
│  │  │  │  └─node
│  │  │  └─lime-painter
│  │  ├─libs
│  │  │  ├─function                    // 工具函数
│  │  │  └─mixin
│  │  ├─pages
│  │  │  ├─cart                        // 购物车页
│  │  │  ├─categories                  // 分类页
│  │  │  ├─fitment                     // 装修组件
│  │  │  ├─goods                       // 商品页
│  │  │  ├─greet
│  │  │  ├─index                       // 首页
│  │  │  ├─order                       // 订单页
│  │  │  ├─other                       // 其他页
│  │  │  ├─page                        // 微页面
│  │  │  └─user                        // 个人中心页
│  │  ├─static                         // 静态资源
│  │  │  ├─css
│  │  │  ├─h5                           // H5资源
│  │  │  ├─images
│  │  │  └─mp-weixin                    // 小程序资源
│  │  ├─store                           // vuex
│  │  └─utils
│  └─we7
├─install                               //安装程序
│  ├─public
│  └─src
│      ├─assets
│      │  └─css
│      └─components
└─server                                //后台接口项目
    ├─api                               //后台接口
    ├─app                               //客户端(微信小程序,公众号)
    ├─applet                            //打包后的微信小程序源码包
    ├─components                        //通用组件
    ├─config                            //配置文件目录
    ├─controllers                       //控制器
    ├─datamodel                         //模型
    ├─forms                             
    │  └─install
    ├─modules                           //模块     
    ├─stores                            //应用配置文件
    ├─system                            //系统核心目录
    │  ├─common
    │  ├─config
    │  ├─phpqrcode
    │  └─wechat
    ├─vendor                            //依赖
    ├─views
    │  ├─layouts
    │  └─site
    └─web
        ├─assets
        ├─h5                            //公众号编译包目录,其中index.php不可删除
        ├─install  
        ├─leadshop                      //后台编译包目录
        ├─static                        //静态文件
        ├─temp
        └─upload                        //上传文件

打包

建议使用cnpm,cnpm安装: npm install cnpm -g --registry=https://registry.npm.taobao.org

后台页面打包发布

后台前端源文件目录/admin

打包步骤

1、安装依赖包 npm install

2、运行调试 npm run serve

3、打包发布 npm run build

4、打包后把/admin/dist/build内所有文件复制到站点/server/web/leadshop目录下

公众号打包发布

后台前端源文件目录/applet

打包步骤

1、安装依赖包 npm install

2、运行调试 npm run serve

3、打包发布 npm run build:h5

4、复制 打包后把/applet/dist/build/h5内所有文件复制到站点/server/web/h5目录下

小程序打包发布

后台前端源文件目录/applet

打包步骤

1、安装依赖包 npm install

2、运行调试 npm run serve

3、打包发布 npm run build:mp-weixin

4、复制 打包后把/applet/dist/build/mp-weixin 打包成zip,重命名为app.zip,并放入/server/applet目录下覆盖之前的app.zip

使用须知

1.允许用于个人学习、毕业设计、教学案例、公益事业;

2.支持企业/个人免费商业使用,但必须保留leadshop版权信息;

版权信息

Powered By Leadshop © 2021

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

🔥🔥🔥🔥🔥 Leadshop是一款提供持续更新迭代服务的免费开源商城系统,旨在打造极致的用户体验!开箱即可商用! Leadshop主要面向中小型企业,助力搭建电商平台,并提供专业的技术支持。 商城涉及多种主题色、可视化DIY装修、促销转化、裂变分销、用户精细化管理、数据分析等多个维度,追求极致体验,全面赋能商家,为商家创造价值。 演示站:https://demo.leadshop.vip 账号:18888888888 密码:123456 前端技术栈 ES6、vue、vuex、vue-router、vue-cli、axios、element-ui、uni-app 后端技术栈 Yii2、Jwt、Mysql、Easy-SMS 展开 收起
PHP
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/ysdxhsw/leadshop.git
git@gitee.com:ysdxhsw/leadshop.git
ysdxhsw
leadshop
leadshop
master

搜索帮助