
test environment configuration
This test environment is based on CentOS version 7.6 of the Linux system, with Pagoda Panel, and uses PHP 7.2 and MySQL 5.6 databases on the back end. The project root directory is set to public, the pseudo-static rules follow the standards of the thinkPHP framework, and SSL Certificates have been enabled to ensure the security of data transmission.
Front-end and Back-end Overview
The front-end part is developed using uniapp pure source code, which is highly flexible and extensible. The back-end is built based on the tp5 framework. Although it only supports Chinese and simplified versions at present, with the source code, you can carry out any secondary development according to your needs.
Front-end considerations
The front end of the original program is in html format. Although it can be opened, some pages may have errors. To ensure the best user experience, we recommend that you use the vue front-end for operations. During deployment, you can set the website's default document, index.html, to priority access, with index.php as an alternative.
Backstage features
The background management functions are powerful, supporting task superposition and grouping to achieve perfect killing control. At the same time, the system supports separation of front and back ends, and front-end files can also be placed in the public directory. The overall UI design is simple and generous, and the operation is convenient.
Database and backend access
To modify the database configuration, please edit the/config/database.php file and replace the domain name yxymk_sd101 in line 31 with your own domain name. The backend management interface is accessed by visiting/admin.
API description
Settlement order interface: This interface is executed once every minute and is used to process order settlement. The access address is domain name/agent/api/settle_order.
Clear the 40 upper limit interface: This interface is automatically executed every morning and used to clear orders that have reached the upper limit. The access address is the domain name/ch/login/order_qk.
Dispatch interface: This interface is mainly used for development and testing, and no special attention is required. The access address is domain name/agent/api/auto_push_order.html.
Comments0