商业源码
前端vue开发带源码,前端8国语言,后台thinkphp框架全开源
DAPP交易所授权秒U,支持erc链,带质押矿机、AI量化等功能
部署教程:
测试环境:
Nginx 1.20.2+PHP7.3+MYSQL5.7
上传源码和导入数据库
运行目录Public 取消防跨站攻击
数据库修改:
.env
伪静态:
location ~* (runtime|application)/{
return 403;
}
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
后台:域名/lLiQAZcbrx.php
账号:admin
密码:123456
‘d30992ba62e2863e4a8dc5506f9fda1d’, ‘Nkozn3’, 更换密钥后台密码就是123456
php redis 需要安装gmp 扩展
nginx 代理转发:
location ~/ws {
proxy_pass http://127.0.0.1:8766;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
}
H5 伪静态
location /
{
try_files $uri $uri/ /index.html;
}
node /www/wwwroot/node/huobi-ws/src/index.js
node /www/wwwroot/node/lawex-ws/src/index.js
php think queue:listen –queue contract-order-close
php think queue:listen –queue machine-produce-close
/home/www/server/php/73/bin/php think queue:work –queue=contract-order-close –delay=0 –memory=120
/home/www/server/php/73/bin/php think queue:work –queue=machine-produce-close –delay=0 –memory=120
计划任务:
用户授权挖矿 每天 0 时 10分
php /www/wwwroot/admin/think AuthorizedMining
处理质押订单 每天 0 时 10分
php /www/wwwroot/admin/think Pledge
搭建好在钱包浏览器eth中打开