strtotime(date("H:i:s",strtotime("+ 30 Minutes")))
当前时间+30分钟
$str = '信息';
file_put_contents('/xxx.txt',$str, FILE_APPEND);
无文件则生成文件在末尾加入字符串,有则直接在文件末尾加入
$info_de = json_decode($info, true);//当该参数为 true 时,将返回 array 而非 object 。
确保加入该参数
foreach ($waitDeal as $one){
$wait[] = $one;
}
使用该方法在数组末尾添加一个键值对
src/tpl/think_exception.tpl 该文件为异常页面的模板文件,可以修改该文件实现更简洁的显示