日志测试法
/*** 寫入日志*/
function write2log($content,$filename='log') {$myfile = fopen($filename.".txt", "a+") or die("Unable to open file!");$txt = date('Y-m-d H:i:s')."\t".$content."\r\n";fwrite($myfile, $txt);fclose($myfile);
}
把內容記錄在日志中,進行測試~
轉載于:https://www.cnblogs.com/jiqing9006/p/5843434.html
總結
- 上一篇: 微信公众平台接口调试工具json格式不对
- 下一篇: 验证软件需求