写入日志用于调试异步通知的方法
// 写入日志用于调试异步通知
function log($content){
$filename = date('Ymd');
$path = APP_PATH."testlog/".$filename.'.log';
$content = date('Y-m-d H:i:s').":".$content."\n";
$myfile = fopen($path, "a");
fwrite($myfile, $content);
fclose($myfile);
}

浙公网安备 33010602011771号