后期筹备
1:一台服务器+一个备案域名
2:注册微信小程序
3:下载微信开发者工具
4:后盾环境配置Nginx 1.18.0+PHP-7.2+mysql5.6 开启ssl php须要装置sg11扩大
网站目录指向public
前端:
1:应用微信开发者工具导入前段源码
2:关上project.config.json文件批改你的appid和我的项目名
3:批改小程序名字(搜寻可可表情替换成你本人的名字)
4:替换域名
5:app.json中34行批改成你本人的小程序名
6:后盾配置小程序后盾记得增加上你的域名和https://cdn.hotemoji.cn
7.首页图片门路
后端:
环境要求:
Nginx 1.18.0+PHP-7.2+mysql5.6 开启ssl php须要装置sg11扩大
1.网站目录指向public
2.开启ssl
3.伪动态
location / {
index index.php index.html index.htm;
if (!-e $request_filename)
{
rewrite ^/(.*)$ /index.php?s=$1;
}
}
location /api/ {
index index.php index.html index.htm;
if (!-e $request_filename)
{
rewrite ^/api/(.*)$ /api/index.php?s=$1;
}
}
location ~* /upload/.+.(html|php)$ {
return 404;
}
location ~* ^/plugins/.+.(html|php)$ {
return 404;
}
location ~* /themes/.+.(html|php)$ {
return 404;
}
4.批改数据库账号密码
5.进入后盾
6.采集办法
演示小程序
源码与教程获取形式
关注随缘干货公众号回复【表情包】收费获取