{template 'common/header'}
筛选
{php echo tpl_form_field_date('starttime', $starttime, false)}
公众平台不支持跨日查询
聊天记录
{if is_error($logs)}
搜索消息记录时出错,错误详情:{$logs['message']}
{elseif empty($logs['recordlist'])}
没有符合条件的记录
{else} {loop $logs['recordlist'] $log} {if $log['opercode'] == 1000}

{if !empty($nickname)}{$nickname}{else}{$log['openid']}{/if}
{$codedata[$log['opercode']]}
{php echo date('m-d H:i:s', $log['time']);} --- {$codedata[$log['opercode']]}
{elseif $log['opercode'] == 1001}

{$log['worker']}
{$codedata[$log['opercode']]}
{php echo date('m-d H:i:s', $log['time']);} --- {$codedata[$log['opercode']]}
{elseif $log['opercode'] == 1002}

{$log['worker']}
{$log['text']}
{php echo date('m-d H:i:s', $log['time']);} --- {$codedata[$log['opercode']]}
{elseif $log['opercode'] == 1004}

{$log['worker']}
{$codedata[$log['opercode']]}
{php echo date('m-d H:i:s', $log['time']);} --- {$codedata[$log['opercode']]}
{elseif $log['opercode'] == 1005}

{$log['worker']}
{$codedata[$log['opercode']]}
{php echo date('m-d H:i:s', $log['time']);} --- {$codedata[$log['opercode']]}
{elseif $log['opercode'] == 2001}

{if !empty($nickname)}{$nickname}{else}{$log['openid']}{/if}
{$log['text']}
{php echo date('m-d H:i:s', $log['time']);} --- {$codedata[$log['opercode']]}
{elseif $log['opercode'] == 2002}

{$log['worker']}
{$log['text']}
{php echo date('m-d H:i:s', $log['time']);} --- {$codedata[$log['opercode']]}
{elseif $log['opercode'] == 2003}

{if !empty($nickname)}{$nickname}{else}{$log['openid']}{/if}
{$log['text']}
{php echo date('m-d H:i:s', $log['time']);} --- {$codedata[$log['opercode']]}
{/if} {/loop} {/if}
{if $pindex > 1} {/if} {if !empty($next)} {/if}
{template 'common/footer'}