|
|
@@ -815,9 +815,9 @@ class Events
|
|
|
if (!$hisSession) {
|
|
|
$conversationId = self::$db->insert('ws_service_log')->cols($serviceLog)->query();
|
|
|
} else {
|
|
|
- self::$db->update('ws_service_log')->cols(['status' => 1])->where('id=' . $hisSession['id'])->query();
|
|
|
+ self::$db->update('ws_service_log')->cols(['status' => 1])->where('servicelog_id=' . $hisSession['servicelog_id'])->query();
|
|
|
+ $conversationId = $hisSession['servicelog_id'];
|
|
|
}
|
|
|
-
|
|
|
unset($serviceLog);
|
|
|
|
|
|
|