Yinghuo Mall V2.0 is a lightweight, high-performance, front-end and back-end separated e-commerce system newly launched in 2021. It supports WeChat mini program + H5 + public account + APP. The front-end and back-end source codes are completely open source, so you can see and get what you get. , perfectly supports secondary development, can be learned and used commercially, allowing you to quickly build a personalized independent mall.
The front and back ends are completely separated (no dependence on each other and high development efficiency)
Using PHP7.4 (strongly typed strict mode)
Thinkphp6.0.5 (lightweight PHP development framework)
Uni-APP (front-end framework for developing cross-platform applications)
Ant Design Vue (enterprise-level mid- and back-end product UI component library)
RBAC (role-based access control management)
Composer introduces third-party extensions with one click
The size of the deployed and run project is only over 30 MB (truly lightweight)
All end codes are open source (server PHP, background vue end, uniapp end)
Simple and efficient coding style (probably the most suitable source code for second-generation developers)
Clear Chinese comments in the source code (code that even novices can understand)
PHP7 strongly typed strict mode
Strictly adhere to the MVC design pattern and have service layer and enumeration class enum support
Simple and clean coding style never redundant line of code
The code comments are complete and easy to read, ensuring that even junior programmers can understand it, which greatly improves the efficiency of secondary development.
Direct calling and use of DB classes is not allowed (destroying encapsulation)
Native SQL statements are not allowed to be used and all chain operations are used (strong maintainability)
Complex SQL query statements are not allowed (strong maintainability)
All CURD operations pass ORM model classes and encapsulated methods (strong scalability)
Database design meets the third paradigm
Front-end JS coding adopts ES6 standard
CentOS 7.0+
Nginx 1.10+
PHP 7.1+ (php7.4 recommended)
MySQL 5.6+
1. Automatic installation (recommended)
Upload the back-end source code to the server site, and set the site running directory to /public
Enter the site domain name + /install in the browser, for example: https://www.yourdomain.com/install
Follow the prompts on the page to automatically complete the installation.
2. Manual installation (not recommended)
Upload the backend source code to the server site, and set the site running directory to /public
Create a database, for example: yoshop2_db
Import the database table structure file, path: /public/install/data/install_struct.sql
Import the database default data file, path: /public/install/data/install_data.sql
Modify the database connection file and fill in the database username, password and other information completely, path/.env
Backend address
Super management background: https://www.yourdomain.com/admin
Merchant backend: https://www.yourdomain.com/store
Default account password: admin yinghuo