摘要: 日志记录\ThinkPHP\Lib\Think\Core\Log.class.php 1、可以在config.php中进行设置,默认为关闭状态。 'APP_DEBUG' => true 打开\ThinkPHP\Common\debug.php文件可以查看debug的默认设置如下:return arr 阅读全文
posted @ 2022-06-19 09:42 随风cy' 阅读(1222) 评论(0) 推荐(0)
摘要: 一、原生查询:增删改查语句: 1 // 插入数据 2 $result = Db::execute('insert into think_data (name,status) value("周杰伦",1)'); 3 // 修改数据 4 $result = Db::execute('update thi 阅读全文
posted @ 2022-06-19 09:35 随风cy' 阅读(274) 评论(0) 推荐(0)