Tutorial on building a personal card issuance platform: Building a Yunchang card issuance platform

888u

Last update at :2024-02-08,Edit by888u

Program description

Program size: 16.4M

Development language: php7.0 BootStrap amaze ui Jquery

Usage requirements: php version>=5.6 mysql version>=5.2

Server recommendation: CentOS6 or above Pagoda 5.9 LNMP

Backend address: http://your domain name/ysmd

Building Tutorial

This tutorial is based on Pagoda, so let’s install Pagoda first:

Here we take centos/Pagoda 5.9 as an example, copy the following code to xshell for execution

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh

After installation, select LNMP as the environment (choose php version 5.6 or above, other defaults)

Then we create a site and pay attention to version selection, as shown in the figure:

Then we download the source code:

github address: https://github.com/assimon/ysfaka/archive/master.zip

Lanzou Cloud address (recommended): https://www.lanzous.com/i2irxqb

Then enter the website directory and delete the following automatically generated files:

Then click Upload to upload the source code you just downloaded, and select UTF-8 for encoding.

After that, unzip the .zip file to the current directory. If you downloaded the source code with git, enter the ysfaka-master folder, select all files, and cut to the root directory of the website. If you downloaded it with my Lanzuo network disk, it should not work. Needs to be cut

The final effect is like this:

Then we return to the "Website" menu of the pagoda

Add pseudo-static as follows:

location/{ if (!-e $request_filename) { rewrite ^(.*)$ /index.php?$1 last; break; } }

Then we can open our domain name:

You will see the following, fill in the mysql information and customized administrator information according to the following prompts

Then click Install, and a prompt will appear indicating successful installation and access to the front and backend

Connect payment and email

Connected payment:

To pay, we need to first enable Alipay to pay in person. If not, you can go to Colorful Grocery Store Open a small store for only 38 yuan!

Then we need to generate Alipay’s appid, Alipay public key, and merchant private key ourselves

You can refer to the tutorial by yourself:

https://blog.csdn.net/wujiangwei567/article/details/53159191

https://www.csweigou.com/article/2176.html

After generating, enter the menu as shown in the figure, fill in the Alipay information, click Save to proceed with the product purchase test

Email configuration instructions:

1. After opening the email configuration, if it is a product that automatically issues a card, the system will send the card secret information to the email address filled in by the user

2. If the goods are processed manually, the administrator will receive the order information and process it in a timely manner

3. The email template can be modified in the background settings. SMTP must be configured before the email can be sent successfully, otherwise it will fail

4. It is not recommended to add new email templates yourself (requires basic cooperation with PHP development), it is best to modify the existing templates

5. It is best to use NetEase 163 mailbox. It is not recommended to use qq mailbox, there are too many restrictions! ! ! !

I won’t go into the specific configuration of smtp here. You can try to use it yourself.

Product description:

1. Handmade products mean that the administrator needs to handle them manually, such as helping users recharge their phone bills

2. When adding products for automatic card issuance, there is no need to fill in the inventory. The system will automatically identify the inventory when importing the card password later

3. Automatically issue card products [Whether repeated orders are allowed] option is invalid, only handmade products are valid, there is no reason, the program logic thinks by itself

4. The product price cannot be 0, otherwise the order will not be received

5. The recharge accounts for automatically issued card products are all email addresses. In order to facilitate users to receive card passwords, and the query password is required, don’t ask why, it’s for safety

Recommended site search: free personal website server, proxy IP purchase website, website registration, registration inquiry Ministry of Industry and Information Technology, free external network server, Henan server, IP proxy server, address check by IP, domain name registration center, foreign server,

p>

Tutorial on building a personal card issuance platform: Building a Yunchang card issuance platform

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码