Source code introduction:
The software library developed by Uniapp has a new medal function. After setting up the backend, find the util file on the front end.
Fill in the two js files with your own domain name. The computer needs to download: HBuilderX Login account If you don’t have an account, register an account.
Then upload the file, select "Release" for packaging, and you can package app h5 and so on.
Building tutorial:
#### Installation Tutorial
(php must enable the fileinfo extension, otherwise an error will occur when exporting the card secret)
1. Download the source code to Server directory
2. Unzip the source code
3. Set the running directory to public (important)
4. Configure pseudo-static (details See below)
5. Modify the database account password (config/database.php)
5. Just access the domain name
6 . Installation completed
7. Start using
8. Backend: Login account: admin Password: 123456 Login to the backend: http://domain name/admin/
#### 伪静态(重要)
## Apache环境
“`html
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
“`
## Nginx环境
“`html
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
“`
#### Others
When the server reports this error solution:
“`html
fatal Error: Call to undefined function think\response\finfo_open()
“`
Related documents: [php think\response\finfo_open() error solution] (https://moranblog.cn/45.html)
Source code download:Baidu Cloud Disk