From e1e2fe5710a5b5cd9c19bd3aa99c998a1a613ca8 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Sat, 17 Jan 2026 17:58:01 +0800
Subject: [PATCH] 团购组件增加筛选

---
 admin/app/common/model/plus/business/chat/Chat.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/admin/app/common/model/plus/business/chat/Chat.php b/admin/app/common/model/plus/business/chat/Chat.php
index 66879e0..a8e2b77 100644
--- a/admin/app/common/model/plus/business/chat/Chat.php
+++ b/admin/app/common/model/plus/business/chat/Chat.php
@@ -55,7 +55,7 @@
             'is_read' => 0,
             'read_time' => 0,
             'app_id' => $appId?$appId:self::$app_id,
-            'create_time' => time(),
+            'send_time' => time(),
         ];
         
         return $this->save($data);
@@ -88,7 +88,7 @@
     {
         return $this->with(['sender'])
             ->where('conversation_id', $param['conversation_id'])
-            ->order('chat_id', 'desc')
+            /*->order('chat_id', 'desc')*/
             ->paginate($param);
     }
     

--
Gitblit v1.9.2