|
@@ -120,7 +120,7 @@ class ChatRecord extends BaseModel
|
|
|
->where('to_user_id', $userId)
|
|
->where('to_user_id', $userId)
|
|
|
->where('is_read', 0)
|
|
->where('is_read', 0)
|
|
|
->update(['is_read' => 1]);
|
|
->update(['is_read' => 1]);
|
|
|
- @file_put_contents('quanju.txt', $affected."-何意啊333\r\n", 8);
|
|
|
|
|
|
|
+// @file_put_contents('quanju.txt', $affected."-何意啊333\r\n", 8);
|
|
|
|
|
|
|
|
// 调试:记录执行的SQL和影响行数
|
|
// 调试:记录执行的SQL和影响行数
|
|
|
// $sql = Db::name('chat_record')->getLastSql();
|
|
// $sql = Db::name('chat_record')->getLastSql();
|