08 2017 档案
摘要:var p= 10 //保留两位小数点 console.log(Math.round(p * 10000) /100) //js 随机数Math //1、0-x之间的随机数: Math.round(Math.random()*x); //2、x至y之间的随机数 Math.round(Math.random()*(y-x)+x); //3、1-x之间的随...
阅读全文
摘要://新增端口3306 iptables -I INPUT -p tcp --dport 3306 -j ACCEPT
阅读全文
摘要:/** * 日志调试 * param string $word */ function writeLog($word) { $file = '/alidata/www/platform/data.log'; $fp = fopen($file,"a"); flock($fp, LOCK_EX) ...
阅读全文

浙公网安备 33010602011771号