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); }