Open source warehouse: https://gitee.com/leadshop/le…

Micro Leadshop mall

BBS communication

Address: https://forum.leadshop.vip/

Experience background

Address: https://demo.leadshop.vip

Account number: 18888888888

Password: 123456

Runtime environment

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

Project introduction

Leadshop is a free mall system that provides continuous updating and iterative services, aiming to create the ultimate user experience!

LeadShop is developed by Zhejiang Hecheng Cloud Computing Co., Ltd. It is mainly for small and medium-sized enterprises to help build an e-commerce platform and provide professional technical support. It provides long-term update services for free, and its applications involve multiple dimensions such as visual decoration, promotion transformation, fission distribution, fine management of users, data analysis, etc. It pursues the ultimate experience, comprehensively empower merchants, and creates value for merchants.

The main features

Leadshop open source system, based on Yii2 development, support Composer, optimize the core, reduce dependencies, based on new architectural ideas and namespaces

Based on namespace and PSR-4 specification, PHP7 new feature core function modularization, convenient development and maintenance of enhanced routing function, flexible creation of model controller using RESTful interface standard, easy to extend development configuration file can be separated, easy to manage rewrite automatic verification and complete the simplified extension mechanism, Improve the development speed API support perfect, convenient secondary development built-in WeChat WeChat development framework, WeChat access is faster, simple use of ORM automatically create table structure, improve the development speed support database structure, data, template online cache clearing, improve user experience client perfect interactive effect and animation, Improve the user’s visual experience Support online one-click installation, convenient and quick. Visual DIY store decoration, convenient, fast, intuitive, you can dress up their stores at will efficient Cartesian product operation, 8000 specifications seconds to load the mimicry Windows folder material management structure, the operation is more familiar with the heart of open source without encryption

Based on Apache License 2.0 open source agreement, front and back end code open source without encryption, support secondary development, support commercial.

The core technology

Front-end technology stack ES6, Vue, Vuex, Vue-Router, Vue-CLI, Axios, Element-UI, Uni-App

Backend technology stack YI2, JWT, MySQL, Easy-SMS

Interface standards

Adopt standard RESTful API, highly efficient API readability, with strong expansibility and clear structure

Data interaction

The JSON API standard is used to define how the client gets and modifies the resource, and how the server responds to the corresponding request. Efficient implementation without sacrificing readability, flexibility, and discoverability

authentication

All interfaces currently use OAuth2 Password method, also known as JWT Authorization Header into authentication. Support for language expansion, multi-platform expansion.

Data table export

Using high-performance JS-XLSX data export, easy to expand, strong compatibility.

Interface documentation: http://www.leadshop.vip/api.html

The installation

A key to install

Upload your code, execute the directory as /server/web and enter your domain name or IP in the browser

(e.g., www.yourdomain.com/install), the installation program will automatically perform the installation. You will be reminded to enter database information to complete the installation.

Background access address: domain /leadshop/panel/index

Public account home page access address: domain name /h5

reinstall

Clear the directory instructions for the /server/install.lock file in the database

│ ├─ ├─ SRC │ ├─ Assets │ ├─ Components │ ├─ Lib │ ├─ Function │ ├─ Bass Exercises – Public ├─ SRC │ Assets │ ├─ Components │ ├─ Lib │ ├─ Function │ ├─ Bass Exercises ├ ─ mixins │ ├ ─ pages │ │ ├ ─ channel / / channel │ │ ├ ─ error │ │ ├ ─ gallery │ │ ├ ─ goods / / commodity │ │ ├ ─ the login / / login │ │ ├ ─ │ order / / order │ ├ ─ package / / decoration component │ │ ├ ─ pages / / micro page │ │ ├ ─ a panel / / homepage │ │ ├ ─ the setup / / set │ │ ├ ─ store / / store │ │ ├ ─ tabbar / / at the bottom of the navigation │ │ │ ├─ ├─ Router │ ├─ Theme │ ├─ Fonts │ ├─ utils – applet // │ ├─ Public │ ├─ SRC │ │ ├─ ├─ Router │ ├─ Them │ │ ├─ Fonts │ utils – SRC │ │ │ ├─ ├─ Components │ ├─ Components │ ├─ Exercises – Goods – List // │ │ ├─ Exercises – He-HTML // │ │ ├─ Exercises – Node │ │ │ └ ─ lime – painter │ │ ├ ─ libs │ │ │ ├ ─ function/tools/function │ │ │ └ ─ a mixin │ │ ├ ─ pages │ │ │ ├ ─ cart / / shopping cart page │ │ │ ├ ─ categories / / category pages │ │ │ ├ ─ fitment / / decoration component │ │ │ ├ ─ goods/page/commodity │ │ │ ├ ─ greet │ │ │ ├ ─ index / / homepage │ │ │ ├ ─ the order/page/order │ │ │ ├ ─ other/page/other │ │ │ ├ ─ page / / micro page │ │ │ └ ─ user/page/personal center │ │ ├ ─ static / / static resources │ │ │ ├ ─ CSS │ │ │ ├ ─ h5 / / h5 resources │ │ │ │ ├─ ├─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ─ Install // │ ├─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ─ Trash Exercises ├─ ├─ CSS ├─ Components ├─ Server // Background Interface Project

App // client (WeChat applet, WeChat) After public) ├ ─ applet / / packaging WeChat applet source code package ├ ─ components / / common component ├ ─ config / / configuration file directory ├ ─ controllers / / controller ├ ─ datamodel / / model ├ ─ forms │ ├─ ├─ Common ├─ Conf. │ ├─ PHPQRCODE │ ├─ Wechat ├─ Vendor // Views │ ├─ sigma │ ├─ sigma - site sigma - web sigma - assets h5 // // index.php: ├─ Exercises - Install Exercises - Leadshop Exercises - static // static file Exercises - Temp Exercises - Upload //

packaging

Recommended CNPM CNPM installation: NPM install CNPM – g – registry=https://registry.npm.taobao.org background page release package

The background front-end source file directory /admin

Packaging steps

1. Install the dependent package NPM install

2, debug NPM run serve

3. Pack and publish NPM run build

4. Copy all files in/ admin/dist/build to /server/web/leadshop

Public number packaged release

The background front-end source file directory /applet

Packaging steps

1. Install the dependent package NPM install

2, debug NPM run serve

3. Package and publish NPM run build:h5

4. Copy all files in /applet/dist/build/h5 to /server/web/h5

Small program packaged release

The background front-end source file directory /applet

Packaging steps

1. Install the dependent package NPM install

2, debug NPM run serve

3. Pack and publish NPM run build: MP-weixin

4. Pack /applet/dist/build/mp-weixin into zip, rename it to app.zip, and put it in /server/applet to overwrite the previous app.zip

Introduction to Ladshop features























Use the information

1. It is allowed to be used for personal learning, graduation projects, teaching cases and public welfare undertakings;

2. Free commercial use is supported for enterprises/individuals, but copyright information of LeadShop must be retained;

Copyright information

Powered By Leadshop © 2021