|
@@ -544,8 +544,11 @@ class System extends Base
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 历史会话记录详情
|
|
// 历史会话记录详情
|
|
|
- public function detail($id, $type = '')
|
|
|
|
|
|
|
+ public function detail()
|
|
|
{
|
|
{
|
|
|
|
|
+ $id = input('get.id');
|
|
|
|
|
+ $type = input('get.type', '');
|
|
|
|
|
+
|
|
|
$chat = db('chat_log')->where('servicelog_id', $id)->order('time_line')->select();
|
|
$chat = db('chat_log')->where('servicelog_id', $id)->order('time_line')->select();
|
|
|
$html = '';
|
|
$html = '';
|
|
|
for ($i = 0; $i < count($chat); $i++) {
|
|
for ($i = 0; $i < count($chat); $i++) {
|