Files
weipan02_server/安装.txt
2025-08-15 09:54:54 +08:00

51 lines
1.4 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ng+php7.2
/config/database.php 修改数据库链接
运行目录public
伪静态thinkphp
/admin admin Aa123456
前端自行修改/config/request.js里面的 api域名
使用HBuilder X编译上传到public目录即可
K线
方法一
在public目录 点击终端 运行 php domissions.php
方法二
在public目录 点击终端 运行 ./start.sh 需要修改start.sh里面的域名
方法三
添加计划任务 选择脚本 1分钟
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
step=5
for (( i = 0; i < 60; i=(i+step) )); do
curl -sS --connect-timeout 10 -m 60 'https://域名/index/index/product'
echo "----------------------------------------------------------------------------"
endDate=`date +"%Y-%m-%d %H:%M:%S"`
echo "★[$endDate] Successful"
echo "----------------------------------------------------------------------------"
sleep $step
done
exit 0
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
step=5
for (( i = 0; i < 60; i=(i+step) )); do
curl -sS --connect-timeout 10 -m 60 'https://域名/index/index/order'
echo "----------------------------------------------------------------------------"
endDate=`date +"%Y-%m-%d %H:%M:%S"`
echo "★[$endDate] Successful"
echo "----------------------------------------------------------------------------"
sleep $step
done
exit 0